GithubHelp home page GithubHelp logo

sravan1946 / sravan-cogs Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 10.0 315 KB

Some random cogs made by me for my bot made using Red-DiscordBot

License: MIT License

Python 99.86% Makefile 0.14%
cogs hacktoberfest red-discordbot

sravan-cogs's Introduction

๐‡๐ž๐ฅ๐ฅ๐จ ๐ญ๐ก๐ž๐ซ๐ž, ๐Ÿ๐ž๐ฅ๐ฅ๐จ๐ฐ <๐š๐šŽ๐šŸ๐šŽ๐š•๐š˜๐š™๐šŽ๐š›๐šœ/>!


You have finally discovered my Github profile.
Please feel free to clone/fork projects, raise issues and submit PRs if you think something could be better.
Ask me anything here
or email me

Happy Coding! ๐Ÿ˜Š

Sravans's Github Stats

sravan1946

sravan1946


Random dev joke for you!
README Jokes

Follow me around the web:

Instagram Spotify Discord Discord


Spotify Playing ๐ŸŽง

See what Sravan is playing

sravan-cogs's People

Contributors

cool-aid-man avatar guyonsteroids avatar honkertonken avatar japandotorg avatar juby-elsa avatar noobindahause avatar npc203 avatar sourcery-ai[bot] avatar sravan1946 avatar tanisha0911 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

sravan-cogs's Issues

ttt command alias

Is your feature request related to a problem? Please describe.
when I try to install the timeout cog I get a conflict with the ticktacktoe cog by aikaterna

Describe the solution you'd like
if you could remove the ttt alias that would be great thanks

Describe alternatives you've considered
considering forking but figured I'd ask first and save the time on my part lol

Additional context
image

Error on some commands in perform

Describe the bug
Commands which doesnt require an user as input errors

Traceback (most recent call last):
  File "{HOME}/fakeenv/lib/python3.9/site-packages/discord/ext/commands/core.py", line 85, in wrapped
    ret = await coro(*args, **kwargs)
  File "{HOME}/data/fakebot/cogs/CogManager/cogs/perform/perform.py", line 794, in happy
    await send_embed(self, ctx, embed)
TypeError: send_embed() missing 1 required positional argument: 'user'

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

Traceback (most recent call last):
  File "{HOME}/fakeenv/lib/python3.9/site-packages/discord/ext/commands/bot.py", line 939, in invoke
    await ctx.command.invoke(ctx)
  File "{HOME}/fakeenv/lib/python3.9/site-packages/discord/ext/commands/core.py", line 863, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "{HOME}/fakeenv/lib/python3.9/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: TypeError: send_embed() missing 1 required positional argument: 'user'

Just making the user argument in the send_embed() funtion should fix it :aha:

Perform - Toggle Action Counts

While the stats are fun to look at, the total added to every single image just adds visual clutter in my opinion. Is it possible to get a toggle for it?

[timeout] Forbidden error when tt or utt a user if they have a role higher than the bot

Traceback (most recent call last):
  File "/home/ubuntu/redenv/lib/python3.9/site-packages/discord/ext/commands/core.py", line 85, in wrapped
    ret = await coro(*args, **kwargs)
  File "/home/ubuntu/.local/share/Red-DiscordBot/data/BaconMan/cogs/CogManager/cogs/timeout/timeout.py", line 190, in timeout
    await self.timeout_user(ctx, member_or_role, time, reason)
  File "/home/ubuntu/.local/share/Red-DiscordBot/data/BaconMan/cogs/CogManager/cogs/timeout/timeout.py", line 92, in timeout_user
    await ctx.bot.http.request(r, json=payload, reason=reason)
  File "/home/ubuntu/redenv/lib/python3.9/site-packages/discord/http.py", line 248, in request
    raise Forbidden(r, data)
discord.errors.Forbidden: 403 Forbidden (error code: 50013): Missing Permissions

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

Traceback (most recent call last):
  File "/home/ubuntu/redenv/lib/python3.9/site-packages/discord/ext/commands/bot.py", line 939, in invoke
    await ctx.command.invoke(ctx)
  File "/home/ubuntu/redenv/lib/python3.9/site-packages/discord/ext/commands/core.py", line 863, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "/home/ubuntu/redenv/lib/python3.9/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: Forbidden: 403 Forbidden (error code: 50013): Missing Permissions

[TIMEOUT] - add by role?

it would be nice to have the ability to timeout every user that has a specified role-id as well, instead of just by the user-id.

This would let me automate timeouts for an entire group at once, or even put certain roles on extreme lockdown in an emergency.

thanks =]

[Timeout] Chat timestamp incorrect

Upon timing out someone, the chat response's timestamp is wrong by 1 hour (3600), i.e. the raw <t:timestamp:f> timestamp is 3600 lower than it should be.

I.e. I find the current UTC timestamp, then mute someone for 1 minute and check the timestamp in chat. It's in the lower than the current timestamp, i.e. in the past.

I've honestly no idea why. UTC is 1 hour out from my timezone, but the code specifies UTC time.

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.