Ariz-z / Moderation-By-Pokemon-Bot

MIT License
6 stars 6 forks source link

Stats Command #4

Closed YASH07-D3AtH closed 2 years ago

YASH07-D3AtH commented 2 years ago

Instead of manually writing Ariz#0001 or whatever discord tag , you should actually fetch the tag from discord using id . Because of this , it will automatically show your current username and tag in the stats command. That would be very handy.

user = bot.get_user(user_id)

Signing off , YASH

satyammpandeyy commented 2 years ago

Yes

Ariz-z commented 2 years ago

Sure Thanks for telling will update it soon.

satyammpandeyy commented 2 years ago

Soon? Lazy boy do it right now

Ariz-z commented 2 years ago

Bruh I don't have only this project. I have other project too and also its not a bit issue

satyammpandeyy commented 2 years ago

You had wasted your time already in typing that message you could do it at that time only 💀 Thanks me later.

satyammpandeyy commented 2 years ago

@Ariz-z should I make an pull request? If you can't do it yourself / you're lazy doing that

Ariz-z commented 2 years ago

If you can then do it. No one stop you to do anything but it should be correct

satyammpandeyy commented 2 years ago

"but it should be correct" I don't believe in my self idk if it would be correct jk I'll do after sometime I have to study right bye cya!

Ariz-z commented 2 years ago

Then go study don't waste time here dude :)

Ariz-z commented 2 years ago

Done Fixed. But you need to enable Guild Member Intent for that.

Instead of manually writing Ariz#0001 or whatever discord tag , you should actually fetch the tag from discord using id . Because of this , it will automatically show your current username and tag in the stats command. That would be very handy.

user = bot.get_user(user_id)

Signing off , YASH

Ariz-z commented 2 years ago

Solved