Code Monkey home page Code Monkey logo

modmail-plugins's Introduction

Plugins that extend the functionality of discord Modmail

Plugins

Name Description Installation
Reaction Role Assign roles to your members with Reactions. plugin add dazvise/modmail-plugins/reaction-role
Reports An easy way for your members to report bad behavior. plugin add dazvise/modmail-plugins/reports
Role Easily create roles and add them to your members. plugin add dazvise/modmail-plugins/role
Server Stats Interesting and accurate statistics about your server. plugin add dazvise/modmail-plugins/serverstats

modmail-plugins's People

Contributors

aloqeely avatar infinitepower18 avatar robinmahieu avatar vinchethescript avatar webkide avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

modmail-plugins's Issues

Emoji Error

I got an error in my Debug Logs which was: "raise BadUnionArgument(param, converter.args, errors)
discord.ext.commands.errors.BadUnionArgument: Could not convert "emoji" into PartialEmoji, Emoji, or UnicodeEmoji."

I restarted my bot & removed and re-added the plugin to my bot and still got the same error. The message ID is completely correct and the usage I did was: "!rr add "

Please help/fix!

Error

Unexpected exception:
2021-11-08T04:56:00.114646+00:00 app[worker.1]: Traceback (most recent call last):
2021-11-08T04:56:00.114646+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/discord/ext/commands/core.py", line 85, in wrapped
2021-11-08T04:56:00.114647+00:00 app[worker.1]: ret = await coro(*args, **kwargs)
2021-11-08T04:56:00.114647+00:00 app[worker.1]: File "/app/plugins/dazvise/modmail-plugins/reports-master/reports.py", line 42, in report
2021-11-08T04:56:00.114648+00:00 app[worker.1]: report_channel = config["report_channel"]
2021-11-08T04:56:00.114648+00:00 app[worker.1]: TypeError: 'NoneType' object is not subscriptable
2021-11-08T04:56:00.114648+00:00 app[worker.1]:
2021-11-08T04:56:00.114649+00:00 app[worker.1]: The above exception was the direct cause of the following exception:
2021-11-08T04:56:00.114649+00:00 app[worker.1]:
2021-11-08T04:56:00.114650+00:00 app[worker.1]: Traceback (most recent call last):
2021-11-08T04:56:00.114650+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/discord/ext/commands/bot.py", line 939, in invoke
2021-11-08T04:56:00.114650+00:00 app[worker.1]: await ctx.command.invoke(ctx)
2021-11-08T04:56:00.114651+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/discord/ext/commands/core.py", line 863, in invoke
2021-11-08T04:56:00.114651+00:00 app[worker.1]: await injected(*ctx.args, **ctx.kwargs)
2021-11-08T04:56:00.114652+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/discord/ext/commands/core.py", line 94, in wrapped
2021-11-08T04:56:00.114652+00:00 app[worker.1]: raise CommandInvokeError(exc) from exc
2021-11-08T04:56:00.114653+00:00 app[worker.1]: discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: 'NoneType' object is not subscriptable

AttributeError: 'NoneType'

The plugin started acting up since right now and my discord went ham because people couldn't get their roles in.

Here is the log after reboot, after trying to assign and remove a role through the menu, If you have any questions, you could reply to my DM on Discord ;)

2020-10-30T15:34:25.917535+00:00 app[worker.1]: await member.remove_roles(role)
2020-10-30T15:34:25.917535+00:00 app[worker.1]: AttributeError: 'NoneType' object has no attribute 'remove_roles'
2020-10-30T15:34:26.368785+00:00 app[worker.1]: 10/30/20 15:34:26 main[1142] - ERROR: Ignoring exception in on_raw_reaction_add.
2020-10-30T15:34:26.369520+00:00 app[worker.1]: 10/30/20 15:34:26 main[1143] - ERROR: Unexpected exception:
2020-10-30T15:34:26.369521+00:00 app[worker.1]: Traceback (most recent call last):
2020-10-30T15:34:26.369524+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.7/site-packages/discord/client.py", line 312, in _run_event
2020-10-30T15:34:26.369525+00:00 app[worker.1]: await coro(*args, **kwargs)
2020-10-30T15:34:26.369526+00:00 app[worker.1]: File "/app/plugins/DAzVise/modmail-plugins/reaction-role-master/reaction-role.py", line 285, in on_raw_reaction_add
2020-10-30T15:34:26.369526+00:00 app[worker.1]: if member.bot:
2020-10-30T15:34:26.369527+00:00 app[worker.1]: AttributeError: 'NoneType' object has no attribute 'bot'
2020-10-30T15:35:35.463872+00:00 app[worker.1]: 10/30/20 15:35:35 main[1142] - ERROR: Ignoring exception in on_raw_reaction_add.
2020-10-30T15:35:35.464320+00:00 app[worker.1]: 10/30/20 15:35:35 main[1143] - ERROR: Unexpected exception:
2020-10-30T15:35:35.464321+00:00 app[worker.1]: Traceback (most recent call last):
2020-10-30T15:35:35.464322+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.7/site-packages/discord/client.py", line 312, in _run_event
2020-10-30T15:35:35.464322+00:00 app[worker.1]: await coro(*args, **kwargs)
2020-10-30T15:35:35.464323+00:00 app[worker.1]: File "/app/plugins/DAzVise/modmail-plugins/reaction-role-master/reaction-role.py", line 285, in on_raw_reaction_add
2020-10-30T15:35:35.464324+00:00 app[worker.1]: if member.bot:
2020-10-30T15:35:35.464324+00:00 app[worker.1]: AttributeError: 'NoneType' object has no attribute 'bot'
2020-10-30T15:35:41.445558+00:00 app[worker.1]: 10/30/20 15:35:41 main[1142] - ERROR: Ignoring exception in on_raw_reaction_remove.
2020-10-30T15:35:41.445987+00:00 app[worker.1]: 10/30/20 15:35:41 main[1143] - ERROR: Unexpected exception:
2020-10-30T15:35:41.445988+00:00 app[worker.1]: Traceback (most recent call last):
2020-10-30T15:35:41.445989+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.7/site-packages/discord/client.py", line 312, in _run_event
2020-10-30T15:35:41.445990+00:00 app[worker.1]: await coro(*args, **kwargs)
2020-10-30T15:35:41.445990+00:00 app[worker.1]: File "/app/plugins/DAzVise/modmail-plugins/reaction-role-master/reaction-role.py", line 335, in on_raw_reaction_remove
2020-10-30T15:35:41.445991+00:00 app[worker.1]: await member.remove_roles(role)
2020-10-30T15:35:41.445991+00:00 app[worker.1]: AttributeError: 'NoneType' object has no attribute 'remove_roles'

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.