Reputation: 21
So I've made this Discord Server, and I'm wondering how to make a Discord Bump bot! A bump bot is a bot where you do $bump it shows your ad msg in everyone's server that has the bot! This is useful for being able to advertising servers.
Upvotes: -1
Views: 769
Reputation: 217
Your question is pretty vague but from what I can see, you need to send a message to (I am going to assume) the 'announcements' channel. To do this i recommend implementing something like this in your code.
@bot.command(pass_context=True)
async def bump(ctx, *, msg):
for server in bot.guilds:
for channel in server.text_channels:
if channel.name == 'announcements':
channel.send('Your Message')
You then of course need to also add you bot token and some basic discord.py setup to your script. But this should give you the basic idea of how to setup the bump part.
Upvotes: 2