Tomato6966 / Multipurpose-discord-bot

A multipurpose bot, a clan bot, a all in one bot. The one bot u need for ur server originally made as Milrato discord Bot and by Tomato6966.
https://milrato.com
MIT License
586 stars 609 forks source link

Bug report - Setup-Mute command bug (Not changing from Timeout to Mute role and etc) #30

Closed SukiPlayz closed 2 years ago

SukiPlayz commented 2 years ago

What's your nodejs Version.

v16.3.2 (Will show as v12.22.6 in replit)

What's the version you downloaded the bot?

Latest version (v10.2.1)

Desktop (please complete the following information):

  • Windows 10
  • Using Replit to host the bot.

Describe the bug

In the last bug fix you (Tomato) fixed the mute command bug. Hope you remember it. But after using the latest version, when I do the setup-mute command, it works. But when I change the muting feature from timeout to mute role, I get an error in the console. The screen shot is given below. Also after I set the mute role, when I mute someone he is getting timeouted. I would prefer the mute role option. But its currently not working. Also after running the mute setup command the click on the show settings option, it shows the AI chat setting which is kind of weird :/ The detailed video is below.

To Reproduce

  1. Use the latest version of the bot code.
  2. Use the {prefix}mute-setup command
  3. Click on the toggle option (The option which changes from timeout to mute role)
  4. Check the console for error.
  5. Run mute setup command and click on see settings option. (Its shows AI chat setting which is kind of weird)

Expected behavior

Change the mute function from timeout to mute role Show the mute setup settings. Not AI chat.

Additional context, text and screenshots!

Console Error

Video:- https://user-images.githubusercontent.com/93142236/151648377-311460c1-94c3-43b8-a548-bf5047b4cd93.mp4

SukiPlayz commented 2 years ago

Also the clean command is not kinda working... you should check it too. smh

Tomato6966 commented 2 years ago

Fixxed https://github.com/Tomato6966/Multipurpose-discord-bot/blob/main/commands/💪%20Setup/setup-mute.js

SukiPlayz commented 2 years ago

@Tomato6966 What about logger? Most of the people send about them in Code Help channel, but its actually a bug. Should I have to create an issue for it too?

SukiPlayz commented 2 years ago

@Tomato6966 still bug is not fixed. image image image

Tomato6966 commented 2 years ago

yes please create issue for that too

SukiPlayz commented 2 years ago

yes please create issue for that too

Sure... But the setup-mute is still not fixed. I dmed you the screen shots from a user called Suki#0006 . I didn't get any errors in the console Or here are the pictures:- image image image

Tomato6966 commented 2 years ago

It got fixxed with changing this command: https://github.com/Tomato6966/Multipurpose-discord-bot/blob/main/commands/💪%20Setup/setup-mute.js

SukiPlayz commented 2 years ago

@Tomato6966 Now its working fine! Tysm for fixing the bug.