Coder Social home page Coder Social logo

neko-cogs's People

Contributors

nekotony avatar repulser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

neko-cogs's Issues

Header in embed msgs

i love ur embedm cog. would you like to add option to set header text for embed msgs.
image

Error in command 'botstats toggle'. Check your console or logs for details.

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.

KeyError

You have a KeyError on line 51.

amount = len(self.messager[channel.id])

Owner Problems On Termial!

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

Status doesn't update automatically

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"

RedBotv3

Hi, Would you be looking to convert any of your Cogs for Redbot v3 ?

Modifications question

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,

Q20 TypeError: list indices must be integers or slices, not str

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.

When customhelp cog is enabled I can't get help for commands.

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

To-Do-List: NerdieCogs

  • Search Cog
  • Smash Bros Cog
  • Burger Cog
  • Profile Cog
  • BotStats Cog
  • Transformice Cog
  • Fuck Cog

I'm open to suggestions

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.