matnad/pollmaster

Pollmaster Stopped Working?

radiasian opened this issue · 6 comments

with the latest Discord update: https://discord.com/blog/welcome-to-the-new-era-of-discord-apps/?ref=message_content_notification, we can't seem to get Pollmaster working. Knowing nothing about how it works, I suspect functionality stopped due to the new slash command supremacy- any chance functionality could be restored? Thanks!

Tatsu still supports some non-slash commands (e.g. introduced by a t! pattern). But it supports slash commands too. Pollmaster is not registered for any slash commands.

Being no expert either, yet I would like to suggest the developers to try mapping all commands introduced by a pm! pattern to a /pm_ command with the same name.

It's much harder to get going than just changing pm! (or the prefix) to slash commands. The way the bot is generally invoked requires a dynamic request/response conversation between the bot and the person running the poll. Also, there may be some documentation issues with the slash command support in discord.py. The root cause of the issue is that the current version of Pollmaster needs to be able to read the messages in the chat channel; this is the intent that Discord has restricted for any verified Discord bot.

For reference: You can have two slash commands by two bots with the same name, and slash commands are generally configured with parameters (ie. /poll MyPollName PollQuestion UserRole 24 Option1 Option2 Option3 ...). The whole "slash command" changes from Discord also introduced a bunch of new options for prompting for information, such as dialogs; they're referred to as Message Components (ie. drop-downs and text boxes) in the official Discord documentation for Interactions.

The developer is currently working on rewriting Pollmaster to run on discord.js; an entirely different programming language but one that uses a library that has much more documentation / support for the slash commands. Keep an eye on the Pollmaster's Discord Support server for updates.

@boonebytes Thank you very much for the update. Rewriting: It sounds like this could take months? Others like me may be very dependent on poll master, though of course there are work arounds with just reactions.

It seems like we need a good way to spread announcements like this since likely only developers would find a page like this. Maybe a Pollmaster Discord server listed on Disboard?

@JoshuaMathias

Bot listing page: https://top.gg/bot/444514223075360800?tab=info
Discord support server: https://discord.gg/8rx7qEns

The official discord server was quite easy for me to find as a typical user from a cursory exploration of the top.gg page for it, which is the top Google result for "Pollmaster" at the time of this writing and quite likely the primary means by which most people added the bot in the first place. Seems to me the registered bot page having the support server link is quite sufficient.

Thanks! I just assumed it would be on Disboard if it exists.

RJ1002 commented

hello, I manage to fix this bot and added slash commands. if you want to try it out.

bot listing page: https://top.gg/bot/753217458029985852
Discord support server: https://discord.gg/sjrDM6WES2