Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to receive messages #64

Closed
4 tasks done
para-dise opened this issue May 1, 2020 · 3 comments
Closed
4 tasks done

Unable to receive messages #64

para-dise opened this issue May 1, 2020 · 3 comments

Comments

@para-dise
Copy link

para-dise commented May 1, 2020

Summary

Jishaku seems to throw an error when attempting to send a msg via multiple commaands:

  • jsk help
  • jsk cog

Reproduction steps

Running jsk help

Expected results

a proper execution of the command

Actual results

Ignoring exception in on_command_error
Traceback (most recent call last):
File "/home/botuser/.local/lib/python3.7/site-packages/discord/client.py", line 312, in _run_event
await coro(*args, **kwargs)
File "main.py", line 104, in on_command_error
await channel.send(embed=embed)
AttributeError: 'NoneType' object has no attribute 'send'

Checklist

  • I have updated discord.py and jishaku to the latest available versions and have confirmed that this issue is still present
  • I have searched the open issues for duplicates
  • I have shown the entire traceback, if possible
  • I have removed my token from display, if visible

System information

Python v3.7.3-final discord.py v1.3.3-final aiohttp v3.6.2 websockets v8.1 system info: Linux 4.19.0-8-cloud-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26)

Name: jishaku Version: 1.18.2.190 Summary: A discord.py extension including useful tools for bot development and debugging. Home-page: https://github.com/Gorialis/jishaku Author: Devon (Gorialis) R Author-email: None License: MIT Location: /home/botuser/.local/lib/python3.7/site-packages Requires: import-expression, discord.py, braceexpand, humanize Required-by:

@StarrFox
Copy link
Contributor

StarrFox commented May 1, 2020

This seems to be an issue with your on_command_error event, since jsk doesn't have a help or cog subcommand it's raising discord.ext.commands.TooManyArguments.
You probably meant to do "help jsk".

@para-dise
Copy link
Author

This seems to be an issue with your on_command_error event, since jsk doesn't have a help or cog subcommand it's raising discord.ext.commands.TooManyArguments.
You probably meant to do "help jsk".

My brain must be failing my I would've swore there was jsk help and jsk cog unload/reload before... oh well tx

@ioistired
Copy link
Contributor

There are extension reload facilities. Try jsk unload/reload/load.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants