#Making discord bot

31 messages · Page 1 of 1 (latest)

toxic merlinBOT
#

@rustic iris

File Attachments Not Allowed

For safety reasons we do not allow file and video attachments.

halal_chad Said

how can i make bot without watching tutorials in every command ?

Code Formatting

You can share your code using triple backticks like this:
```
YOUR CODE
```

Large Portions of Code

For longer scripts use Hastebin or GitHub Gists and share the link here

Ignored these files
  • R.jfif
rustic iris
#

bruh

ebon wolf
#

learn to read documentation

rustic iris
ebon wolf
#

what language are you making the discord bot in?

rustic iris
#

Javascript

ebon wolf
#

using discord.js?

rustic iris
#

Yep

ebon wolf
#

you dont have to watch tutorials, if you can read and understand these docs

rustic iris
ebon wolf
#

there are pages that explain how to configure the bot, how to make command handlers, and so on

#

what is hard about it? these docs are well written

rustic iris
#
discord.js

discord.js is a powerful Node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.

ebon wolf
#

yes, the docs i linked above are for that

#

and what i linked has multiple pages explaining how to use it in detail

#

i would give it a real try

#

it does take effort to read docs, but its an important skill

rustic iris
ebon wolf
#

your question was how to make a bot without watching a tutorial for every command. The answer is to gain a higher level understanding of how discord.js works by reading the docs, then being able to apply that to your own code

#

for stuff like modmail and tickets, you have to think about how you want it to work, then break it down

#

so for example, how do you want users to send modmail?

rustic iris
rustic iris
ebon wolf
#

ok, so by click on button do you mean react to a message? you would break it down, like first display the button, then find out how to make the bot know if it has been clicked

#

then learn how to use the bot to create a channel

#

basically, figure out each piece one thing at a time

#

then put them together

#

thats how coders figure out things without tutorials. We break it down into manageable steps, and work on it one step at a time

#

as for how to use message - go to that guide website i sent you. It has a sidebar with a long list of topics. at least one of them explains how to use message.

rustic iris
#

thanks
i try my best.