changed the name to something reasonable
This commit is contained in:
parent
d8d425e6c3
commit
033736e3cf
@ -3,4 +3,4 @@
|
||||
|
||||
## Our Cogs:
|
||||
- [WelcomeCog](./welcomeCog)
|
||||
- [TrafficTrackerCog](./trafficTrackerCog)
|
||||
- [TrafficCog](./trafficCog)
|
||||
@ -1,4 +1,4 @@
|
||||
# TrafficTrackerCog
|
||||
# TrafficCog
|
||||
This is the Kanium community/guild welcome cog. monitors the server for activity and logs them to a specific channel using the specific commands.
|
||||
|
||||
# How to use:
|
||||
@ -12,14 +12,14 @@ In order to use our cog you would need to install it onto your instance of [RedB
|
||||
|
||||
## How to install & load:
|
||||
1. `[PREFIX]repo add [RepoName] https://github.com/Kanium/KaniumCogs [ActiveBranch (EX: Master)] `
|
||||
2. `[PREFIX]cog install [RepoName] trafficTrackerCog`
|
||||
3. `[PREFIX]load trafficTrackerCog`
|
||||
2. `[PREFIX]cog install [RepoName] trafficCog`
|
||||
3. `[PREFIX]load trafficCog`
|
||||
|
||||
### To update the Cog:
|
||||
- `[PREFIX]cog uninstall trafficTrackerCog`
|
||||
- `[PREFIX]cog uninstall trafficCog`
|
||||
- `[PREFIX]repo update [RepoName]`
|
||||
- `[PREFIX]cog install [RepoName] trafficTrackerCog`
|
||||
- `[PREFIX]load trafficTrackerCog`
|
||||
- `[PREFIX]cog install [RepoName] trafficCog`
|
||||
- `[PREFIX]load trafficCog`
|
||||
|
||||
### Commands
|
||||
- `[PREFIX]settrafficchannel` - allows you to select a channel in your discord to dump logs to
|
||||
5
trafficCog/__init__.py
Normal file
5
trafficCog/__init__.py
Normal file
@ -0,0 +1,5 @@
|
||||
from .trafficCog import TrafficCog
|
||||
from redbot.core.bot import Red
|
||||
|
||||
def setup(bot: Red):
|
||||
bot.add_cog(TrafficCog(bot))
|
||||
@ -3,7 +3,7 @@
|
||||
"Deathblade"
|
||||
],
|
||||
"install_msg": "May Kanium broaden your horizons",
|
||||
"name": "TrafficTracker",
|
||||
"name": "TrafficCog",
|
||||
"short": "Tracks daily activity on the server",
|
||||
"description": "Tracks incoming and outgoing member activity on the server with daily resets",
|
||||
"requirements": ["datetime"],
|
||||
@ -7,7 +7,7 @@ allowed_guilds = {274657393936302080, 693796372092289024, 508781789737648138}
|
||||
admin_roles = {'Developer', 'admin', 'Council'}
|
||||
statsThumbnailUrl = 'https://www.kanium.org/machineroom/logomachine-small.png'
|
||||
|
||||
class TrafficTracker(commands.Cog):
|
||||
class TrafficCog(commands.Cog):
|
||||
|
||||
def __init__(self, bot):
|
||||
self.channel: discord.TextChannel = None
|
||||
@ -1,5 +0,0 @@
|
||||
from .TrafficTracker import TrafficTracker
|
||||
from redbot.core.bot import Red
|
||||
|
||||
def setup(bot: Red):
|
||||
bot.add_cog(TrafficTracker(bot))
|
||||
Loading…
x
Reference in New Issue
Block a user