nekotony / neko-cogs Goto Github PK
View Code? Open in Web Editor NEWThe only TwentySix-Red cogs made out of boredeom, loneliness, and what i think is sweat.
The only TwentySix-Red cogs made out of boredeom, loneliness, and what i think is sweat.
Hello NekoTony, i have been helping rjm so far, so i was thinking if i could help you aswell?
Exception in command 'botstats toggle'
Traceback (most recent call last):
File "lib/discord/ext/commands/core.py", line 50, in wrapped
ret = yield from coro(*args, **kwargs)
File "/home/bot/Gayming Bot/cogs/botstats.py", line 38, in toggle
await self.botstatz()
File "/home/bot/Gayming Bot/cogs/botstats.py", line 94, in botstatz
await self.bot.change_presence(game=game, status=status)
File "lib/discord/client.py", line 1934, in change_presence
yield from self.ws.change_presence(game=game, status=status, afk=afk)
File "lib/discord/gateway.py", line 477, in change_presence
yield from self.send(sent)
File "lib/discord/gateway.py", line 442, in send
yield from super().send(data)
File "lib/websockets/protocol.py", line 310, in send
yield from self.ensure_open()
File "lib/websockets/protocol.py", line 394, in ensure_open
raise ConnectionClosed(self.close_code, self.close_reason)
websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1001, no reason.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "lib/discord/ext/commands/bot.py", line 846, in process_commands
yield from command.invoke(ctx)
File "lib/discord/ext/commands/core.py", line 634, in invoke
yield from ctx.invoked_subcommand.invoke(ctx)
File "lib/discord/ext/commands/core.py", line 374, in invoke
yield from injected(*ctx.args, **ctx.kwargs)
File "lib/discord/ext/commands/core.py", line 54, in wrapped
raise CommandInvokeError(e) from e
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: ConnectionClosed: WebSocket connection is closed: code = 1001, no reason.
"original" misspelt on customhelp info.json
You have a KeyError on line 51.
amount = len(self.messager[channel.id])
Ignoring exception in message
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/discord/ext/commands/bot.py", line 252, in _run_extra
yield from coro(*args, **kwargs)
File "/Users/ /Desktop/G/Red-DiscordBot/cogs/selfembed.py", line 33, in on_message
if self.eee["toggle"] and author.id == self.bot.owner.user.id:
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/discord/client.py", line 296, in getattr
raise AttributeError(msg.format(self.class, name))
AttributeError: '<class 'main.Bot'>' object has no attribute 'owner'
HELP
Toggling botstats on with a timeout of 15 seconds sets the status, then doesn't update until you disable and re-enable botstats
Logs showed something similar to "change_status is deprecated, use change_presence instead"
Pleas see 26-Cogs/trigger for an example on how to do this
Hi, Would you be looking to convert any of your Cogs for Redbot v3 ?
Hi,
I am using your pressf cog at the moment as a replacement for something similar from my own cog. Then I realise I could merge what I have with your idea of pressf. So, I wanted to use your pressf idea as a part of my cog (on my repo).
I noticed that you did not have any license on this repo, hence this issue is made to ask your permission to adopt your pressf idea. I will add your name/this repo url on credit section of my repo readme.
Awaiting your reply
Cheers,
When using the Q20 cog, I'm getting the following error after a user gets to do their final guess, and the answer ends up being incorrect:
[30/03/2018 00:23] ERROR red on_command_error 369: Exception in command 'twentyq play' Traceback (most recent call last): File "lib/discord/ext/commands/core.py", line 50, in wrapped ret = yield from coro(*args, **kwargs) File "/home/test/TestEnv/Red-DiscordBot/cogs/Q20.py", line 238, in play del userz[channel.id] TypeError: list indices must be integers or slices, not str
I'm running Python 3.6.4 on Debian 8. I'm using the default RedDiscordBot installation + Neko Cogs, so nothing has been edited.
Hi,
when I have customhelp cog enabled I can't get help for commands.
I mean my custom help works, but when I type for example "[p]help gif" I won't get a help for this command.
I come up with workaround, but you could simply add it to your code or if you want, you can give option to enable/disable it or even something more:
You need to add one argument to help
command like this:
async def help(self, ctx, *, command=None):
And add this on the beginning of that command:
if command is not None:
ctx.command = self.bot.get_command(command)
await send_cmd_help(ctx)
return
hello nekotony, If you need help with like nookpedia to look what works and what not, i can help you if you want, i would like to help you.
I'm open to suggestions
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.