Code Monkey home page Code Monkey logo

Comments (11)

rssnyder avatar rssnyder commented on July 20, 2024

@coldpumpkin

Is this a public ticker or a self-hosted?

If self hosted, can you share your setup? If docker, share your compose config (if using compose) otherwise please send the options you enabled.

Have you made sure the bot has "change nickname" permissions on your server?

from discord-stock-ticker.

coldpumpkin avatar coldpumpkin commented on July 20, 2024

It's a public ticker, we added it from here. I'll check the "change nickname" permission and I'll get back to you, thank you!

from discord-stock-ticker.

rssnyder avatar rssnyder commented on July 20, 2024

It's a public ticker, we added it from here. I'll check the "change nickname" permission and I'll get back to you, thank you!

The public tickers can only change the name once an hour, and you must use the activity to watch the price. This is due to discord API limits.

If you want the name to update faster, you need to self host or subscribe to the premium private offering.

from discord-stock-ticker.

coldpumpkin avatar coldpumpkin commented on July 20, 2024

I confirm he has every permission. 1 hour update should be fine, it's just that he's stuck in $210 for a lot of days now. We'll try kicking him and making him rejoin, I'll let you know.

from discord-stock-ticker.

rssnyder avatar rssnyder commented on July 20, 2024

I confirm he has every permission. 1 hour update should be fine, it's just that he's stuck in $210 for a lot of days now. We'll try kicking him and making him rejoin, I'll let you know.

Sometimes the names can be cached, I dont have much control over that.

from discord-stock-ticker.

coldpumpkin avatar coldpumpkin commented on July 20, 2024

So I tried adding the bot to another server and the name is still at $210. Ok thank you for all your help. Nevertheless let me just make a final question so that I can understand the problem better - cached as in where?

from discord-stock-ticker.

coldpumpkin avatar coldpumpkin commented on July 20, 2024

Ok so, I ended up forking your rep and digged around the code and self hosted the bot. The reason why it's probably stuck is because discord isn't liking the constant name changes. I'm using a bot with your code right now and I simply have it updating the nickname (server) instead of the username (bot).

from discord-stock-ticker.

rssnyder avatar rssnyder commented on July 20, 2024

Ok so, I ended up forking your rep and digged around the code and self hosted the bot. The reason why it's probably stuck is because discord isn't liking the constant name changes. I'm using a bot with your code right now and I simply have it updating the nickname (server) instead of the username (bot).

Ah so maybe I need to just not start the name change job if SET_USERNAME is set. Good idea.

from discord-stock-ticker.

coldpumpkin avatar coldpumpkin commented on July 20, 2024

Ah so maybe I need to just not start the name change job if SET_USERNAME is set. Good idea.

Yea :) and you should have it set on your own bots, to avoid messing with discord.

from discord-stock-ticker.

rssnyder avatar rssnyder commented on July 20, 2024

Ah so maybe I need to just not start the name change job if SET_USERNAME is set. Good idea.

Yea :) and you should have it set on your own bots, to avoid messing with discord.

It still won't affect the public bots as those don't use the nickname feature, but will be helpful for people self hosting.

from discord-stock-ticker.

rssnyder avatar rssnyder commented on July 20, 2024

#28

from discord-stock-ticker.

Related Issues (20)

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.