Search results
- Dictionarydiscord
noun
- 1. disagreement between people: "a prosperous family who showed no signs of discord" Similar Opposite
- 2. lack of harmony between notes sounding together: "the music faded in discord" Similar Opposite
verb
- 1. (of people) disagree: archaic "we discorded commonly on two points"
Powered by Oxford Dictionaries
Jan 8, 2021 · So to define users for things like displaying avatars, etc. i've been using this; var user = message.mentions.users.first() || message.author; But i've been trying to figure out how people have been able to define users without mentions. Example - my command requires me to tag someone whereas Dyno can do it with partial names.
Dec 27, 2021 · How to define guild in discord.js? Ask Question Asked 3 years, 3 months ago. Modified 2 years, 10 months ago.
Jun 20, 2020 · You should create a folder named cogs where every cog will be contained. When you have cogs, you have to replace every client.commands() by 'commands.command()' and every client occurences by self.client
Jun 23, 2020 · You are not passing the client variable from your index.js file to your command file, also do not put an event listener inside a command, very bad idea, instead do something like this:
May 18, 2020 · When making a discord bot, usually you're going to be getting information based off of arguments and ctx (context). First I'll start off with some general examples, and then I'll move onto how to use these when working with d.py.
May 8, 2020 · ReferenceError: guild is not defined at Client.<anonymous> (c:\Users\OKBOO\OneDrive\Desktop\Discord Bot\index.js:34:9) at Client.emit (events.js:327:22) at MessageCreateAction.handle (c:\Users\OKBOO\OneDrive\Desktop\Discord Bot\node_modules\discord.js\src\client\actions\MessageCreate.js:31:14) at Object.module.exports [as MESSAGE_CREATE] (c:\Users\OKBOO\OneDrive\Desktop\Discord Bot\node ...
Oct 17, 2023 · For example, if I have a command where the Discord bot sends a message when a user gets a role, how do I code the command so that server mods or admins can use a slash command to then define the actual role that the bot will react to, as opposed to hard coding the role? I'm using Python.
Sep 16, 2020 · I started to code a discord bot (that takes your coffee order) for the first time yesterday, and can’t figure out how to define functions without placing them under @client.command or some similar line. I have the code written in python but I need to be able to call different functions without making each one a separate command.
Apr 13, 2019 · You didn't define bot in previous code, so you can't use it. You defined your Discord client as client in the following line: const client = new Discord.Client(); That's why you have to use client. You can't create a listenener for a non existing client.
Sep 16, 2021 · Even in the documentation I am looking at currently, it’s showing requiring the Client class from the main discord.js package, then declaring an instance of it like const client = new Client(/** options here **/). It seems as though you may have missed that detail - I’d encourage you to re-visit the documentation.