tsubakibotpad / misc-cogs Goto Github PK
View Code? Open in Web Editor NEWMiscellaneous cogs for Red discord bot
License: MIT License
Miscellaneous cogs for Red discord bot
License: MIT License
We literally always remove the manual strikes & replace it with one of our own, and this way we dont have to do a clearstrikes or remove strike or whatever
If the strike was the only way the channel was being notified, then replace the strike addition with some other notification into the baduser notification channel of what happened
^onlineplot optin
^onlineplot optout
(default is opted out)^onlineplot plot [optional: day of week, defaults to today]
- sends the plot of today's online plot, averaged over the past 8 weeks, in the user's local timeSend ^channelmirror includebot
in the source channel, and then all channels will include bot commands when mirroring that channel
As long as the two channels exist in servers she's in, it says Done
even if the mirror didn't exist
is it maybe using wrong type of listener? Allie says msg that are del too late don't get logged, esti says stuff that are del too fast dont get logged
Two commands:
mirroredit
- this is the same as ^editmsg
but with a channelid
built in via.......setmirroreditchannel
- this sets the channelid
for mirroredit
in the current channelThis command is needed because we can't set an alias for ^editmsg
with the correct channelid
due to Cog-Creators/Red-DiscordBot#4652
^remindme every 1d | 3 minutes do something!
returns:
I will tell you 'do something!' on Wednesday, Oct 14, 2020 at 12:21 AM PST (PDT) (3 mins from now) and every 0 seconds after that.
catchup feature - ability to catchup on a mirror in a channel, this can be used in case bot was down.
Syntax: ^channelmod catchup channelid startat [endat]
if endat
is omitted then it just catches up to present.
This should be gated to people with the permission, which should be managed through, drumroll, gadmin!!!!!!!!! (default it to false)
I think this was started a while ago? what's the status of it? this is actually kind of high prio but I forgot about it completely...
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: module 'redbot.core.commands.errors' has no attribute 'MessageNotFound'
If you toggle this on, then Tsubaki should not say the name of your time zone when she confirms a remindme and instead say "your time zone"
^remindme toggletzprivate
"Ok, your time zone is now set to PRIVATE. I will HIDE your time zone when I confirm your reminders."
"Ok, your time zone is now set to PUBLIC. I will SHOW your time zone when I confirm your reminders."
the code you will edit is in timecog
this should print a friendly failure message instead
This conflicts with TsubakiBotPad/pad-cogs#590
This will do explicit type checking to ensure that all needed functions are present
^globalban addreason <id> <reason>
To catch up on reasons...
in 2) also say what you did in 1)
^import alias <bot_mention> [link_or_attatchment] [true]
would preserve existing
in case of direct name conflicts the bot could be interactive with you, "xyz is conflict. Should we replace? [Y]es, [A]ll, [S]kip, [N]one and then react with an emoji
this could be useful when importing from one server to another, e.g. I would have used it just now when importing from comm server to Tsubaki server
disclaimer: this will probably never be used because I did the replacements by hand
import repoinfo from aradia-cogs and write coginfo to show all commands within a cog
put them in a cog called metadata
or something
^remindme every sunday 3pm clear expoal
should work (and imply every 7 days)
like we want to see ^globalban list
, a list of current users banned via globalban
e.g.
you do ^id seina
^relast
and it sends the result of ^id seina again
list all role members
divides into online, away, idle, offline
If you just sent a message with 1 emoji in it, then upload that emoji to the current server with the same name it has in whatever server it's from
this will help for debugging permissions on servers where Tsubaki lacks Administrator
this way if they unsubscribe they'll keep donor role
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.