Giter Club home page Giter Club logo

dav-cogs's People

Contributors

aaa3a-aaa3a avatar cwh1te avatar dav-git avatar kablekompany avatar killerbite95 avatar kreusada avatar mister-42 avatar psharma04 avatar rysanlos avatar stonedestroyer avatar teddyrasmussen avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

dav-cogs's Issues

[i18n] Translate Ticketer

Ticketer has a metric ton of strings that need to be translated. The translator still needs to be implemented for all of those strings.

[Ticketer] Doesn't work with reactions

Currently ticketer and supporter only work using commands, not reactions like other popular ticketing bots.
While this is a feature that would be nice to have, I currently don't have the motivation to implement it. If someone would like to PR this feature, I would be more than happy to accept it, I just don't want to do it myself at this time.

That said, no amount of questions begging or other support queries will make me implement this quicker, so please don't constantly bug me about it. It will be implemented at some point in the future(TM).

[Botstatus] Add "Competing" Status

I uhh forgot to open an issue on this the other day uhh....

Feature Request

Add "Competing" status for the recent "Competing In" status Discord added for bots.

[ticketer] Closed channel permission

Hi there,

I thought it might be a great option if the channel for the ticket opener remains visible after closure, user just cant text in it anymore. So the user has a reference at a later time and the channel doesnt just fully disappear. Great cog though, liking it a lot!

[Roomer] Default User Permissions

Feature request

Select the type of feature you are requesting:

  • Bugfix
  • Enhancement
  • New feature

Describe your requested feature

When a user joins the voice channel to create their own, the creator of the voice channel should be given:

  • View Channel
  • Connect
  • Speak
  • Mute Members
  • Deafen Members
  • Use Voice Activity

[check]Remove names

Even though this almost makes the cog a little pointless, past names are now shown in [p]userinfo so invoking the [p]names command is unnecessary here.

[Supporter] whole cog is gone

After my Bot updated just 50 minutes ago, the Supporter cog wouldn't load anymore. And I can't even find it anymore in your Repo.

Traceback:

Exception during loading of cog
Traceback (most recent call last):
File "/root/redenv/lib/python3.8/site-packages/redbot/core/core_commands.py", line 119, in _load
await bot.load_extension(spec)
File "/root/redenv/lib/python3.8/site-packages/redbot/core/bot.py", line 929, in load_extension
lib = spec.loader.load_module()
File "", line 462, in _check_name_wrapper
File "", line 962, in load_module
File "", line 787, in load_module
File "", line 265, in _load_module_shim
File "", line 702, in _load
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/root/.local/share/Red-DiscordBot/data/Lady_Red/cogs/CogManager/cogs/supporter/init.py", line 6, in
red_end_user_data_statement = json.load(fp)["end_user_data_statement"]
KeyError: 'end_user_data_statement'

[NoMic] Add ability to map text channels to voicechannels and generate on the fly

I would like to suggest a feature to NoMic.
the ability to have text channels being created when joining a voice channel.
we already done some brainstorming through DM. but it is also nice to have some things written down.

I am using a cog names roomtools. and this auto creates voice channels according to the name of the game you are playing. you will join a voice channel and right after it will will create a new voice channel. you can find the cog here https://github.com/mikeshardmind/SinbadCogs#roomtools

  • create text channel ones you join a voice channel.
  • remove text channel when voice channel is empty / only see the text channel when you join the voicechannel
  • limit the behavior to 1 or more categories (for me 1 would be enough).

Exclusivenow does not show "Reason" in mod logs.

I noticed that with a lot of cogs, it shows up as Reason in the mod logs. But I can't find that in the exlcusiveroles. Is it possible to add this?

I can find the reason in the cog python file under retroscan. Possible it can be included in exclusivenow as well? I'm unsure if reason is already added for setexclusive.

[Bday] Error at Startup

Traceback (most recent call last):
  File "c:\__\coding\redenv\lib\site-packages\discord\ext\tasks\__init__.py", line 101, in _loop
    await self.coro(*args, **kwargs)
  File "C:\__\coding\Soundwave\cogs\CogManager\cogs\bday\bday.py", line 55, in bdaytask
    role := member.guild.get_roles(
AttributeError: 'Guild' object has no attribute 'get_roles'

Suggestion: Temporary Nicknames

It can currently be done via the scheduler cog, I know, but it would be neat to be able to set nicknames to last for a certain amount of time all with the one forcenick cog. So you could, for example, set the person's nickname to "Birthday Boy" for specifically just a day, and then have it automatically revert to what it was when you first used the forcenick command.

I completely understand if you decide that's not within the scope of your intention for the cog though, was just an idea. Thanks for making it in the first place, pretty handy regardless! ^_^

[i18n] Translate Supporter

Same as #46. Whenever that gets done, supporter can be done at the same time as they are similar in big parts of the code.

progressive removal of closed ticket

Is it possible to add an option that will allow you to choose the archiving time for closed tickets? pass this delay the bot automatically deletes tickets.
Thanks you :) ๐Ÿ’ช

listexclusives with over 1024 characters give error.

Apparently I added way too much exclusives, as listing it shows that it's over 1024 characters:

Traceback (most recent call last):
  File "/home/satan/.virtualenvs/satan/lib/python3.8/site-packages/discord/ext/commands/core.py", line 85, in wrapped
    ret = await coro(*args, **kwargs)
  File "/home/satan/satan/cogs/CogManager/cogs/exclusiveroles/exclusiveroles.py", line 109, in listexclusives
    await ctx.send(embed=embed)
  File "/home/satan/.virtualenvs/satan/lib/python3.8/site-packages/redbot/core/commands/context.py", line 93, in send
    return await super().send(content=content, **kwargs)
  File "/home/satan/.virtualenvs/satan/lib/python3.8/site-packages/discord/abc.py", line 890, in send
    data = await state.http.send_message(channel.id, content, tts=tts, embed=embed,
  File "/home/satan/.virtualenvs/satan/lib/python3.8/site-packages/discord/http.py", line 245, in request
    raise HTTPException(r, data)
discord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In embed.fields.0.value: Must be 1024 or fewer in length.

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

Traceback (most recent call last):
  File "/home/satan/.virtualenvs/satan/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 903, in invoke
    await ctx.command.invoke(ctx)
  File "/home/satan/.virtualenvs/satan/lib/python3.8/site-packages/discord/ext/commands/core.py", line 855, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "/home/satan/.virtualenvs/satan/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: HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In embed.fields.0.value: Must be 1024 or fewer in length.

Maybe split them up in pages instead?

[forcenick] Removal in favor of Nicknamer

The forcenick cog will be removed in December 2020. All functionality is taken over and expanded on by the Nicknamer cog. To switch, you can just uninstall Forcenick and install Nicknamer. Unfortunately, your settings will be lost in the process.

  • [p]unload forcenick
  • [p]cog uninstall forcenick
  • [p]cog install Dav-cogs nicknamer
  • [p]load Nicknamer

The forcenick cog will no longer be fixed or updated. It is recommended you switch to Nicknamer as soon as possible. If you do not switch before December 2020 you will encouter problems when updating your cogs.

Bday Cog allow admins to assign bdays to others

Cog: bday

Requested Feature: Currently the bday cog allows users to assign a bday to themselves to get the autorole. I do not know if others would be able to figure out the commands on my server, so I would like the option for admins to assign a bday to other members of the server. The syntax could be like: [p]birthday [userID] date

[roomer] Create voice channels based on activity

Cog that should always create one more voice channels than there are voicechannels being used.

On_vc_disconnect if channel empty --> delete
On_vc_join if channel was empty before --> make new channel

[Roomer] Channel Rename

Feature request

Select the type of feature you are requesting:

  • Bugfix
  • Enhancement
  • New feature

Describe your requested feature

When you click on the Channel Creation, it would name the channel with your nickname


Credits to NobodyForYou#3648 via Discord

[Exclusiveroles] unexclusive don't work

I tried this cog to help a friend to get roles rid of users the fast way.
While testing we noticed that the unenxclusive command doesn't work.

Output is allways like this: role 1 and role 2 are not registered as exclusive roles

[bday]Use tasks to end Birthdays

Use tasks to determine when a "day ends" instead of relying on someone else's cog for that purpose.

Either make birthdays always last 24h or allow the setting of a time at which the birthdays will end.

[pinging] Check

To allow the Check cog to accept pinging/to use a converter instead of a user ID for user convenience.

[NoMic] Removal in favor of more versatile cog

After I spent a bunch of time on this cog without really progressing to much I found out that something similar has already been done on https://github.com/zephyrkul/FluffyCogs/ it's called invoice and is a lot more versatile in functionality. I will be dropping this cog in the middle of August along with Nicknamer.

I recommend users migrate to the invoice cog as soon as possible.

Error mcwhitelister (to many users on list)

Error mcwhitelister (to many users on list)
discord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In embed.fields.0.value: Must be 1024 or fewer in length.

[Ticketer]Error on load

[2020-07-17 15:07:40] [ERROR] red: Package loading failed
Traceback (most recent call last):
File "/home/lilleke/redenv/lib/python3.8/site-packages/redbot/core/core_commands.py", line 119, in _load
await bot.load_extension(spec)
File "/home/lilleke/redenv/lib/python3.8/site-packages/redbot/core/bot.py", line 929, in load_extension
lib = spec.loader.load_module()
File "", line 462, in _check_name_wrapper
File "", line 962, in load_module
File "", line 787, in load_module
File "", line 265, in _load_module_shim
File "", line 702, in _load
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/lilleke/.local/share/Red-DiscordBot/data/bnl/cogs/CogManager/cogs/ticketer/init.py", line 1, i
n
from .Ticketer import Ticketer
ModuleNotFoundError: No module named 'ticketer.Ticketer'

Getting this error when trying to load the cog :)

[ticketer] A ticket system

  • Overview channel showing current status of open tickets
  • Archive for closed tickets
  • Assigning people to tickets
  • Mod notes for tickets
  • Custom settable mod role
  • More...

[bday]Not removing role after 24h

Most likely a bug somewhere within the Task setup. Haven't had time to figure this out yet. Possibly needs accesspoint to config to fetch system times.

[Mover] Massmpve cog

Just an idea. Massmove cog. Can take vc.members and for i in members move them to a specified channel.

[persistentmute] Create

Make a cog that assigns a role when a user is being muted and invokes a core/tempmute mute command. If the user leaves the server, and rejoins (removing their mute) they'll get slapped with a new mute (configurable) if the mute role has been marked as sticky.

[Roomer] Send private key to nomic

If roomer is installed and no_mic auto-chanels are enabled, the key to a private vc should be sent to the no-mic channel instead of the user's DMs

[AnonReporter] Bug | When You Haven't Set an Output Channel

Exception in command 'anonreport'
Traceback (most recent call last):
  File "c:\__\coding\redenv\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
    ret = await coro(*args, **kwargs)
  File "C:\__\coding\Soundwave\cogs\CogManager\cogs\anonreporter\anonreporter.py", line 81, in anonreport
    await ctx.guild.get_channel(channel).send(
AttributeError: 'NoneType' object has no attribute 'send'

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

Traceback (most recent call last):
  File "c:\__\coding\redenv\lib\site-packages\discord\ext\commands\bot.py", line 903, in invoke
    await ctx.command.invoke(ctx)
  File "c:\__\coding\redenv\lib\site-packages\discord\ext\commands\core.py", line 859, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "c:\__\coding\redenv\lib\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: 'NoneType' object has no attribute 'send'

[nicknamer]Looping nicks

Action:
[p]freezenick <user> nickname on user a second time (after user nick has been frozen)

Expected:
Error from bot indicating user already froze, or removal of previously frozen nickname from figs

Result:
Bot turns user.nick back and forth between both frozen nicknames in configs. Enters the ID into the config a second time with the new nickname to freeze, leaving the old one.

Line referencing:

async with self.config.guild(ctx.guild).frozen() as frozen:

Picture for reference:
Picture

I hope this issue template is suitable. Great cog collection here!

[supporter] Error's + suggestions

When someone creates a ticket but it timedout the following error will arrive

Traceback (most recent call last):
  File "/root/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 83, in wrapped
    ret = await coro(*args, **kwargs)
  File "/root/.local/share/Red-DiscordBot/data/cuffbotv3/cogs/CogManager/cogs/supporter/supporter.py", line 155, in create
    dept_msg = await self.bot.wait_for(
  File "/usr/lib/python3.8/asyncio/tasks.py", line 490, in wait_for
    raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError

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 892, in invoke
    await ctx.command.invoke(ctx)
  File "/root/redenv/lib/python3.8/site-packages/redbot/core/commands/commands.py", line 799, in invoke
    await super().invoke(ctx)
  File "/root/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 1234, in invoke
    await ctx.invoked_subcommand.invoke(ctx)
  File "/root/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 797, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File "/root/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 92, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TimeoutError: 

Also I have a the following suggestions::

  1. Option to remove the [p]ticket create so a dedicated channel for creating tickets is not clogged.
  2. Option to purge all closed tickets, so they are removed.
  3. Option to show list of departments [p]supporter department list

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.