![Coding Errors/Discord Bot - Python - Replit Ask](https://global.discourse-cdn.com/business7/uploads/replitteams/optimized/2X/b/b2b417842cb576e42afb3bebd4de539c81912441_2_468x500.png)
Coding Errors/Discord Bot - Python - Replit Ask
Price: $ 39.99
4.5(750)
Question: I have a ton of old discord servers that went inactive, so I’m in the process of cleaning them up so I can start over. I’m creating a discord bot that will mass ban/kick everyone and delete all the channels, so I don’t have to do it manually, but I keep running into SyntaxError: ‘await’ outside function whenever I try to run my code. What would you guys suggest I do because I’m very new to this? Repl link: code snippet
![https://preview.redd.it/i-have-this-problem-while-installing-idna-please-help-v0-ru3ocsx2ob9b1.png?width=722&format=png&auto=webp&s=f4dc3f537ff130d62acaafada4d6e2076273453d](https://preview.redd.it/i-have-this-problem-while-installing-idna-please-help-v0-ru3ocsx2ob9b1.png?width=722&format=png&auto=webp&s=f4dc3f537ff130d62acaafada4d6e2076273453d)
I have this problem while installing idna please help (discord.py) : r/ replit
![https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6aff9115-a031-47d2-a27f-a31e136b59a1_1500x819.png](https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6aff9115-a031-47d2-a27f-a31e136b59a1_1500x819.png)
Building an end to end product with Replit + AI in 2 days
![https://beebom.com/wp-content/uploads/2022/03/download-nodejs.jpg?w=640](https://beebom.com/wp-content/uploads/2022/03/download-nodejs.jpg?w=640)
How to Make a Discord Bot in 2022 (Easy Guide)
![https://global.discourse-cdn.com/business7/uploads/replitteams/original/2X/b/b83a557c768e2bddec455f0ee3890bc1e6b48600.jpeg](https://global.discourse-cdn.com/business7/uploads/replitteams/original/2X/b/b83a557c768e2bddec455f0ee3890bc1e6b48600.jpeg)
Discord bot in Python using Replit db - Python - Replit Ask
![https://storage.googleapis.com/replit/images/1594131979159_e0efccbdf15cade1b4b85c25b8247d5a.png](https://storage.googleapis.com/replit/images/1594131979159_e0efccbdf15cade1b4b85c25b8247d5a.png)
mine says B.b() is a syntax er - Replit
![https://global.discourse-cdn.com/business7/uploads/replitteams/optimized/2X/5/54a148ba799c927425615fdb1215ae7a2fe96cf0_2_312x500.jpeg](https://global.discourse-cdn.com/business7/uploads/replitteams/optimized/2X/5/54a148ba799c927425615fdb1215ae7a2fe96cf0_2_312x500.jpeg)
Discord bot in Python using Replit db - Python - Replit Ask
![https://replit.com/cdn-cgi/image/quality=80,metadata=copyright,format=auto/https://storage.googleapis.com/replit/images/1616851783765_2573bf957838b527f237ee088d515272.png](https://replit.com/cdn-cgi/image/quality=80,metadata=copyright,format=auto/https://storage.googleapis.com/replit/images/1616851783765_2573bf957838b527f237ee088d515272.png)
I keep getting this error for - Replit
![https://global.discourse-cdn.com/business7/uploads/replitteams/optimized/2X/7/73c963e94d1585395b62bb3b4f3ec1d8520cf1d0_2_1024x749.jpeg](https://global.discourse-cdn.com/business7/uploads/replitteams/optimized/2X/7/73c963e94d1585395b62bb3b4f3ec1d8520cf1d0_2_1024x749.jpeg)
An error occurred while trying to play sound - Python - Replit Ask
![https://64.media.tumblr.com/1df24ebd608b4c6dba19592d0665416b/fd83e04e3ed99b6a-de/s500x750/4c5a671dbb10860923f8c23b118ae6dab2bfdcc0.png](https://64.media.tumblr.com/1df24ebd608b4c6dba19592d0665416b/fd83e04e3ed99b6a-de/s500x750/4c5a671dbb10860923f8c23b118ae6dab2bfdcc0.png)
hello there — HOW TO MAKE A DISCORD BOT THAT RESPONDS TO
![https://global.discourse-cdn.com/freecodecamp/original/4X/e/8/3/e83f19efb0041f91c5e50cc192d16ef2bcf3f5ed.png](https://global.discourse-cdn.com/freecodecamp/original/4X/e/8/3/e83f19efb0041f91c5e50cc192d16ef2bcf3f5ed.png)
Replit Issue with Coding Discord Bot - Python - The freeCodeCamp Forum
![https://i.stack.imgur.com/AHtwk.png](https://i.stack.imgur.com/AHtwk.png)
discord.py - Discord bot in repl.it - Stack Overflow
![https://assets.cdn.prod.twilio.com/images/ZleuujHh2Ejo845dFxRACUxReC5wPV-lcVyATH4ZjtV75A.width-800.png](https://assets.cdn.prod.twilio.com/images/ZleuujHh2Ejo845dFxRACUxReC5wPV-lcVyATH4ZjtV75A.width-800.png)
Deploy Your Twilio Webhooks to Replit