s-boris / discord-auto-renamer Goto Github PK
View Code? Open in Web Editor NEWA Discord bot that appends the currently played game of voice channel members to the channel name
A Discord bot that appends the currently played game of voice channel members to the channel name
Hey there again,
this is rather a feature request than an issue, so I'm sorry if this is the wrong place for it and/or you're just not interested in implementing it. Feel free to close this issue in that case.
We have our channels named with a prefix (an Emoji), a Description and a Suffix, counting up.
Like this:
We'd love the bot to, instead of appending the game in brackets, replace "Gaming 1/2/3" with the Name of the game. Like:
If no one's playing a game, it should just switch back to it's original name.
Second thing would be that, instead of displaying "different games", it should just display a randomly selected game from the ones sharing their first place.
Again, I'm sorry if this is bothering you, I absolutly don't expect you to do this. I've tried implementing it myself, however I ran into some issues (such as the channel name not switching back to it's original name or it getting confused with the suffixes).
Even if you should decide to not fulfill this request, I want to express my gratitude for implementing the last bugfix that quickly, your bot has greatly improved our Discord.
Ignoring exception in on_member_update Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/discord/client.py", line 312, in _run_event await coro(*args, **kwargs) File "autorenamer.py", line 39, in on_member_update if before.game != after.game: AttributeError: 'Member' object has no attribute 'game'
This message is being sent almost every second. The bot doesn't seem to do anything, so it's a rather big issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.