![]() ![]() ![]() The docs usually assume you already know the basics of programming with the language of your choice as well. As said above, looking into the docs on how to build a bot is a good starting point. Overall however, building a discord bot isn’t super easy since chat has a lot of small niches and concerns you need to take into account. This entire feature really depends on what you want to keep track of and thus my advice on this feature is more vague. Your bot essentially will need to be “told” by another system that “a new deal comes in” or it goes out and checks itself. The “new deal comes in” is much more vague, and requires more details and foresight into how that feature will work. There are alternate ways of handling this, along with more details, such as which picture and where that picture is hosted, but looking into the idea of a “cron” job is at least the direction you’d need. Here, click on Integrations in the sidebar and then select Webhooks. Now open the server settings by clicking on the server name at the top right and then selecting the option Server Settings in the dropdown. The first requirement of doing something based on time can be done a number of ways, but primarily is usually called something along the lines of a “a cron job”. First open the server on which you want to create a webhook. This bot is different then most tutorials out there, in that it doesn’t actually care about what people are messaging in the channels, instead its based around the idea of “an external event” that is either time based, or that “when a new deal comes in”. Hi how i can create webhook (with same name and avatar) in every channel of specific guild using discord.js And how to fetch first webhook and send messages using first webhook in specific channel using discord.js discord.js Share. On a “new deal” to post to a specific channel a picture and link. Post a picture at 1AM in a specific channel This sounds like there are essentially 2 features of this bot:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |