Giter Site home page Giter Site logo

dumb-cogs's Introduction

Dumb-Cogs

Various silly, QOL, and community-based cogs for Twentysix's Red-DiscordBot

Most of these cogs were made with a specific server in mind.
The bot's responses will make that obvious.
There will only be a minimal effort to convert them for general use.
If you'd like to help with that or anything else, please put up issues and PRs and whatnot.

None of these cogs are guaranteed to work with Red.
If that is the case, there will be an effort to warn the user about it in the cog's info.json file.
Again, minimal effort will be made to convert the actual cogs though.
If you find any issues, please do submit it. It will help us track them for when we do fix them.

If you have questions or would like some support for these cogs, please head over to the #coding channel in Twentysix's Red - Discord Bot discord server.
There's no guarantee I'll help you 😉 especially if you don't bring snacks.

dumb-cogs's People

Contributors

calebj avatar chovin avatar flapjax avatar irdumbs avatar kowlin avatar mamalus avatar sitryk avatar skeith avatar skordy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dumb-cogs's Issues

[Snacktime] snackburr pounce

  • snackburr appears rarely (settable) and disappears after certain amount of time (settable)
  • pounce on him while he's there
  • grab some of that pb bounty (settable range)

Basically snackburr already but with different defaults and more ambiguous as to what it is until you figure it out. Also deletes the appearance message

Alots are running away!!! D:

alots are going missing!!! D: 404s everywhere!

We need to archive them all on image hosting services!

While we're at it, if you find anymore lemme know :3

Hal - music_player has no attribute

I noticed when looking into Hal cog, when you use the phrase "sing it for me", it is gives the message "Error in command 'hal' - AttributeError: 'Audio' object has no attribute 'music_player'" after giving the correct response

Errors when trying to set a channel

when i do [p]welcomeset channel i get this error
`Exception in command 'welcomeset channel'
Traceback (most recent call last):
File "lib\discord\ext\commands\core.py", line 50, in wrapped
ret = yield from coro(*args, **kwargs)
File "C:\Users\myName\Unibot\cogs\welcome.py", line 131, in channel
).permissions_in(channel).send_messages:
File "lib\discord\user.py", line 124, in permissions_in
return channel.permissions_for(self)
AttributeError: 'NoneType' object has no attribute 'permissions_for'

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: AttributeError: 'NoneType' object has no attribute 'permissions_for'`

Welcome Cog - Not working across Servers?

Hey!

I was hoping to setup different welcome messages per server. However, the messages seem to be the same per server making it impossible to tailor the message to different servers.

Any possibility this could be added to future versions?

Thanks!

Snackburr drops snacks every so often

Idea by @ Angel#5893,

  • Dropped
  • snacks can be picked up by passersby via command? reaction?
  • Edit message when picked up. eg.

a wild Snackburr runs by dropping 40 pb jars on the way!
looks like @ Yukirin snatched em off the ground! ew..

  • separate channel toggle than snacktime
  • don't drop snacks during snacktime
  • drop snacks when chat is inactive.

repl doesnt pagify

as the title says repl doesnt pagify I would suggest making it like debug that it pagifys but stops and await a response when 2 full code boxes where send

who is all a​lots?

"Invites all a​lots to your servers.

Also silently mentions them whenever someone says their name so that they pop into chat to see why people keep calling them."

wtf does that even mean? lol

Great cogs

Nice cogs but the lolz cog + the slots in the economy cog = no slot images
Maybe make the lolz cog ignore slots?

[REPL] Add a optional cleanup after repl sessions

After closing each repl session, it would be nice if the bot would ask if you want to clean up all messages entered into the REPL and all responses

Options:
self - Would cleanup only the owners messages involved in the session
bot - Would cleanup only the bots messages involved in the session
session - Would be equivalent to using self + bot cleanups
all - Would cleanup all messages since the start of the session

Maybe avoid pinned messages though, sometimes I pin snippets from the REPL so I can remember some functin

Conversion to V3

Good day.
I am looking to see if the Snacktime Cog will be converted for V3 ?

[repl] unable to bot.say on longer code.

Using just

bot.say('message')

yields the correct results but doing stuff like

for x in server.emojis: bot.say(x.name)

does not seem to work.

A slight workaround is using print() instead but print() does not allow for embeds

Util files

Hi are you able to put all the util files that are needed up there two like these
from .utils.dataIO import dataIO from .utils import checks from __main__ import send_cmd_help from copy import deepcopy

BUG IN CODING

i have the welcome cog by irdumb for my bot and i keep getting (ignoring exception in member join) error message (it doesn't affect my bot at all and it still continues sending welcome messages !) but really gets annoying when it sends in your terminal and u think u did something wrong and go ape shit

                                                                                                                                    -Captain Luke

[welcome] Testing configuration

An option to turn off automated testing on most settings changes to prevent the bot repeatedly sending messages when setting up the cog in a new server. I suggest the following method(s):

  • Automatic testing is on by default
  • A command can turn off automatic testing
  • If automatic testing is off, a reminder on settings changes to test manually. A cooldown on the reminder before sending it again may be useful, but that may be more difficult to implement.
  • A command to activate a test manually.

[Welcome] Bot role not works with permissions

When adding bot with permissions (Discord-Managed role, &permissions=int) bot's role not assign with error

welcome.py: added %role% role to bot, %bot%
welcome.py: unable to add %role% role to %bot%. Role was deleted, network error, or lacking permissions

But on adding bot without predefined role/permissions (without &permissions=int arg in URL), role assigns normally

Bot has access to manage roles

Welcome Cog changes

  • Adding randomized greetings
  • Fix missing channels/servers bugs
  • Add roles on join

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.