GithubHelp home page GithubHelp logo

gavwin / toasty-old Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 8.0 311 KB

A Discord bot that's useful, fun, and delicious!

Home Page: https://toastybot.com

License: Apache License 2.0

JavaScript 100.00%
bot discord iamtoast toasty

toasty-old's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m Gavin Wainwright (@gavwin)
  • ๐Ÿ‘€ Iโ€™m interested in AI in the medical field
  • ๐ŸŒฑ Iโ€™m currently studying Computer Science & Math with a concentration in Artificial Intelligence
  • ๐Ÿ“ซ How to reach me: [email protected]

toasty-old's People

Contributors

aceattorneymaster111 avatar agentgroda avatar crashmd avatar dependabot-support avatar devdutchy avatar gavwin avatar ognova avatar rigner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

toasty-old's Issues

`roles-add` command throws error

When trying to add a role to the roles-list in a guild, Toasty raises an unexpected TypeError.
Error text: TypeError: Cannot read property 'includes' of undefined.

I looked at the file containing the command in question (/src/commands/config/roles-add.js), and the only instance of "includes" is here:

if (data[msg.guild.id].roles.includes(role.name)) return msg.reply(`:no_entry_sign: The role, **${role.name}** is already in the server roles list.`);

data refers to the array containing server data evaluated from JSON. As a newcomer to this repository, I'm not sure where things are defined, but somehow .roles is returning undefined. I will continue investigating, but ideas on where to look would be greatly appreciated.

Thanks for making such a cool bot!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.