AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
I got some of the code from Stack Overflow so can someone check if it does what it's supposed to be? The code from Stack Overflow is the code after if **if n.startswith("discord.gift/" + 13). Boosted servers show up more frequently, and the more Coins used for boosting, the higher position the. If you know the person, ask them to Use your Coins to boost this server By using your Coins, you can help this server become even more popular. R = requests.post(''+ codevariable + '/redeem', headers=redeemheaders) This user hasnt written a description yet. 'Authorization': token, #dont replace this. Regex for this opertaion or just set two variables so if the messageĬontent includes https and discord.gift it stores it as a different Gifts come in the format, you should either use """make it store the code after the discord.gift/ part, but note most Response = client.wait_for_message(author=, timeout=30) This is the code I got so far: import discordĬlient = commands.Bot(command_prefix = def on_ready():Īwait Client.change_presence(status=, activity = discord.Game("Shuffling Nitro Codes"))Ĭodes_str = await client.wait_for('message', check=check(thor), timeout=30)Īwait ctx.send("Great! Send your code list now!") ![]() I'm a moderator in a server and if you invite 50 people you get free nitro classic but people started scamming people and sending them invalid codes so I'm trying to get my bot to check the links.
0 Comments
Read More
Leave a Reply. |