Git Product home page Git Product logo

onii-cogs's Introduction

Important Note

Hello there, these cogs are no longer maintained and only minimal support will be provided with the installation of these cogs. I wish you the very best with your Redbot journey and hope you find replacements for these cogs.

  • Onii

onii-cogs V3

Red-DiscordBot Discord.py

Note: This is an unapproved repo, meaning no one has formally reviewed this repo yet and any loss of data in your bot isn't my fault (Any loss of data is highly unlikely as I use these cogs for my bot.) if at all you come across a bug, report it to me in discord.

Some fun and anime orientated cogs for Redbot. Discord User: Onii-chan#3920 Docs: Docs

Installation

To add cogs from this repo to your instance, do these steps:

  • [p]repo add onii-cogs https://github.com/Onii-Chan-Discord/onii-cogs
  • [p]cog install onii-cogs <cog name>
  • [p]load <cog name>

Cog List

Cog Status Description
Image Deprecated
Wallpaper commands for animeThis cog chooses random wallpapers from a different subreddits and sends them to you in an embed.
Nsfw Deprecated
Nsfw commandsNsfw commands, proceed with caution.
Perform Deprecated Perform commandsPerform things like cuddle, poke, kiss etc.
Oniitools Deprecated
My set of must have commands.This cog chooses random wallpapers from a different subreddits and sends them to you in an embed.
Animals Deprecated
Sends images of cute animals!Sends very cute animals in an embed, more animals coming soon.

Credits

  • Everyone who contributed to make this better.
  • Thank you Red community, you guys are awesome.
  • Sravan, for always improving my cogs.

Contributing.md

  • Kindly follow the format of black with line-length = 99 and isort
  • This can be done by pip install black isort
  • Then running
black .
isort .

onii-cogs's People

Contributors

apoo711 avatar dependabot[bot] avatar oofchair avatar pre-commit-ci[bot] avatar sravan1946 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

onii-cogs's Issues

[nsfw] !hentai pussy and !real pussy appear to be broken

!hentai pussy returns "Syntax: !hentai pussy <ctx>" and putting anything after !hentai pussy causes "Error in command 'hentai pussy'. Check your console or logs for details."
Here's console:

[01:49:22] ERROR    [red] Exception in command 'hentai pussy'
┌───────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────┐
│ C:\Users\Valerie\AppData\Local\redenv\lib\site-packages\discord\ext\commands\core.py:85 in wrapped                  │
│ >   85             ret = await coro(*args, **kwargs)                                                                │
│ C:\Users\Valerie\AppData\Local\Red-DiscordBot\Red-DiscordBot\data\redbot\cogs\CogManager\cogs\nsfw\nsfw.py:348 in   │
│ pussy                                                                                                               │
│ >  348         if ctx.channel.is_nsfw():                                                                            │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
AttributeError: 'str' object has no attribute 'channel'

!real pussy returns "Error in command 'real pussy'. Check your console or logs for details."
Here's console:

[01:48:00] ERROR    [red] Exception in command 'real pussy'
┌───────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────┐
│ C:\Users\Valerie\AppData\Local\redenv\lib\site-packages\discord\ext\commands\core.py:85 in wrapped                  │
│ >   85             ret = await coro(*args, **kwargs)                                                                │
│ C:\Users\Valerie\AppData\Local\Red-DiscordBot\Red-DiscordBot\data\redbot\cogs\CogManager\cogs\nsfw\nsfw.py:966 in   │
│ pussy                                                                                                               │
│ >  966                 title = data["title"]                                                                        │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
KeyError: 'title'

I am posting this here because I cannot add Onii-chan#3920 on Discord, as it says they are not accepting friend requests

[nsfw] Bug report

Describe the bug
Since a couple of days none of the nsfw commands seem to work. Everytime someone tries it, an "error in command...." occurs. Couldn't find a solution, even deleting and reinstalling the repo didn't help

Bot's logs
Traceback (most recent call last):
File "/root/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "/root/.local/share/Red-DiscordBot/data/lady_red/cogs/CogManager/cogs/nsfw/nsfw.py", line 452, in _anal
embed.set_image(url=await api_call("https://nekos.life/api/v2/img/anal"))
File "/root/.local/share/Red-DiscordBot/data/lady_red/cogs/CogManager/cogs/nsfw/nsfw.py", line 31, in api_call
return response["url"]
KeyError: 'url'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/root/redenv/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 939, in invoke
await ctx.command.invoke(ctx)
File "/root/redenv/lib/python3.8/site-packages/redbot/core/commands/commands.py", line 832, in invoke
await super().invoke(ctx)
File "/root/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 1348, in invoke
await ctx.invoked_subcommand.invoke(ctx)
File "/root/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 863, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "/root/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 94, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: KeyError: 'url'

Red version
3.4.16

[Nsfw] Bug report

Hey man, kinda the same issue like was reported before. There are some commands who respond with the help menu and want "ctx" but whatever you try, there comes an error. I'm using your cog since july and have to admit, it worked best before you added hentai as a precommand.

I could recreate this with hentai and it's sub commands: anal, ass, boobs, pussy

Traceback (most recent call last):
File "/root/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "/root/.local/share/Red-DiscordBot/data/lady_red/cogs/CogManager/cogs/nsfw/nsfw.py", line 284, in boobs
if ctx.channel.is_nsfw():
AttributeError: 'str' object has no attribute 'channel'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/root/redenv/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 939, in invoke
await ctx.command.invoke(ctx)
File "/root/redenv/lib/python3.8/site-packages/redbot/core/commands/commands.py", line 832, in invoke
await super().invoke(ctx)
File "/root/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 1348, in invoke
await ctx.invoked_subcommand.invoke(ctx)
File "/root/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 863, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "/root/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 94, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'str' object has no attribute 'channel'

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.