Giter VIP home page Giter VIP logo

discord-auto-renamer's People

Contributors

s-boris avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

discord-auto-renamer's Issues

Replace string instead of appending game

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:

  • ๐ŸŽฎ Gaming 1
  • ๐ŸŽฎ Gaming 2
  • ๐ŸŽฎ Gaming 3

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:

  • ๐ŸŽฎ Gaming 1 -> ๐ŸŽฎ GTA:V
  • ๐ŸŽฎ Gaming 2 -> ๐ŸŽฎ Minecraft

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.

'Member' object has no attribute 'game'

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.