nwithan8 Cogs
DEPRECATED: Arca
is no longer being maintained. Components are being extracted and converted into RedBot-compatible extensions (cogs): https://github.com/nwithan8/nwithan8-cogs
Cog Function
Name |
Status |
Description (Click for full details) |
espn |
2.1.0 |
Get live data from ESPN.comCommands: - score - Get live score(s) for a team
- prob - Get ESPN's win probability for a team's current game
- sched - Get a team's schedule
- stats - Get a team's record and ranking
- top - Top ranked teams of a league (Supported: CFB)
- leagues - List supported leagues
Supported leagues: NFL, NBA, MLB, NHL, CFB, CBBM, CBBW |
plex |
1.6.0 |
Interact with a Plex Media Server (via Tautulli)Commands: - size - Get Plex library statistics
- stats - Get watch statistics for a specific user
- top - Get the most popular media or most active users
- rec - Get a recommendation of what to watch
- new - Get an interactive catalog of newly-added content
- search - Search for Plex content
- now - View and manage live Plex streams
|
plex_manager |
2.1.0 |
Manage a Plex Media ServerCommands: - add - Invite Plex user to Plex server
- remove - Remove Plex user from Plex server
- details - See a Plex user's library, ratings and sync restrictions
- edit - Change a Plex user's library, ratings and sync restrictions
- import - Import existing Plex users to database
- trial - Start a trial of the Plex server
- winner - List winner Plex usernames
- purge - Remove inactive winners
- cleandb - Delete outdated database entries if users were removed manually from Plex
li>blacklist - Blacklist a Discord user or Plex username- count - Get the number of Plex Friends with access to the Plex server
- access - Check if a user has access to the Plex server
- find - Find a user based on Plex or Discord username
- info - Get database entry for a user
- status - Check if Plex is up and running
|
jellyfin |
0.6.0 |
Interact with a Jellyfin Media ServerCommands: - rec - Get a recommendation of what to watch
- now - View and manage live Jellyfin streams
|
jellyfin_manager |
2.2.0 |
Manage a Jellyfin Media ServerCommands: - add - Create Jellyfin user
- remove - Disable Jellyfin user
- details - See a Jellyfin user's library, live TV and download restrictions
- edit - Change a Jellyfin user's library, live TV and download restrictions
- import - Import existing Jellyfin users to database
- trial - Start a trial of the Jellyfin server
- winner - List winner Jellyfin usernames
- purge - Remove inactive winners
- cleandb - Delete outdated database entries if users were removed manually from Jellyfin
- blacklist - Blacklist a Discord user or Jellyfin username
- count - Get the number of Jellyfin users with access to the Jellyfin server
- access - Check if a user has access to the Jellyfin server
- find - Find a user based on Jellyfin or Discord username
- info - Get database entry for a user
- status - Check if Jellyfin is up and running
|
emby_manager |
2.1.1 |
Manage an Emby Media ServerCommands: - add - Create Emby user (optionally link to Emby Connect username)
- remove - Disable Emby user
- import - Import existing Emby users to database
- trial - Start a trial of the Emby server
- winner - List winner Emby usernames
- purge - Remove inactive winners
- cleandb - Delete outdated database entries if users were removed manually from Emby
- blacklist - Blacklist a Discord user or Emby username
- count - Get the number of Emby users with access to the Emby server
- access - Check if a user has access to the Emby server
- find - Find a user based on Emby or Discord username
- info - Get database entry for a user
- status - Check if Emby is up and running
|
cog_handler |
0.2.0 |
Manage cogs for Discord botCommands: - enable - Enable cogs without restarting the bot (incompatible with RedBot cogs)
- disable - Disable cogs without restarting the bot
- restart - Reload a cog without restarting the bot
- download - Download cogs from Dropbox
- upload - Upload cogs to Dropbox
- repo - Clone repos from .git URLs
|
news |
1.0.0 |
Get news headlinesCommands: - brief - Get 5 top headlines
- top - Top headlines from a specific media outlet
- sports - Sports news headlines
- u.s. - U.S. news headlines
- world - World news headlines
|
marta |
1.1.0 |
Get MARTA train infoMARTA is the Metro Atlanta Rapid Transit Authority, the light-rail system in Atlanta, Georgia Commands: - trains - Get live train arrival times
- time - How long to go from one station to another
- stations - List available stations
|
roles |
1.0.0 |
Mass-add and remove Discord rolesCommands: - add - Add roles to users
- remove - Remove roles from users
- list - List available roles to add/remove
|
sengled |
1.0.0 |
Control Sengled smart lightsCommands: - lights - Toggle light on/off states and brightness
|
wink |
1.0.0 |
Control Wink Hub-connected smart lightsCommands: - wink - List and toggle device and group on/off states
- color - Alter light color
|
Installation
git clone https://github.com/nwithan8/nwithan8-cogs.git
- Edit settings in respective 'settings.py' files.
- Install required packages with
pip3 install -r requirements.txt
-
Run with ./bot.py
bot.py
has some cogs activated by default. Cogs can be deactivated by being commented out.
Individual cogs can also be installed to pre-existing bots as well.
Demo video: https://www.youtube.com/watch?v=6etsv5b0IRs
IMPORTANT UPGRADE NOTE
Databases for each media server type (Plex, Emby, Jellyfin) has been combined into one database file.
You can migrate your data by running sqlite3 discordConnector.db < migrate.sql
from the media_server
folder.
Usage
Default bot prefix is *
Prefix can be changed in bot.py
Type *help
to get overview of installed cogs.
Contact
Join the #cogs channel on my Discord server:
I'm also often floating around on other developer Discord servers.
Discord: nwithan8#8438
Credits
callmekory
The people in the r/Discord_Bots server