changed the name to something reasonable
This commit is contained in:
parent
d8d425e6c3
commit
033736e3cf
@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
## Our Cogs:
|
## Our Cogs:
|
||||||
- [WelcomeCog](./welcomeCog)
|
- [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.
|
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:
|
# 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:
|
## How to install & load:
|
||||||
1. `[PREFIX]repo add [RepoName] https://github.com/Kanium/KaniumCogs [ActiveBranch (EX: Master)] `
|
1. `[PREFIX]repo add [RepoName] https://github.com/Kanium/KaniumCogs [ActiveBranch (EX: Master)] `
|
||||||
2. `[PREFIX]cog install [RepoName] trafficTrackerCog`
|
2. `[PREFIX]cog install [RepoName] trafficCog`
|
||||||
3. `[PREFIX]load trafficTrackerCog`
|
3. `[PREFIX]load trafficCog`
|
||||||
|
|
||||||
### To update the Cog:
|
### To update the Cog:
|
||||||
- `[PREFIX]cog uninstall trafficTrackerCog`
|
- `[PREFIX]cog uninstall trafficCog`
|
||||||
- `[PREFIX]repo update [RepoName]`
|
- `[PREFIX]repo update [RepoName]`
|
||||||
- `[PREFIX]cog install [RepoName] trafficTrackerCog`
|
- `[PREFIX]cog install [RepoName] trafficCog`
|
||||||
- `[PREFIX]load trafficTrackerCog`
|
- `[PREFIX]load trafficCog`
|
||||||
|
|
||||||
### Commands
|
### Commands
|
||||||
- `[PREFIX]settrafficchannel` - allows you to select a channel in your discord to dump logs to
|
- `[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"
|
"Deathblade"
|
||||||
],
|
],
|
||||||
"install_msg": "May Kanium broaden your horizons",
|
"install_msg": "May Kanium broaden your horizons",
|
||||||
"name": "TrafficTracker",
|
"name": "TrafficCog",
|
||||||
"short": "Tracks daily activity on the server",
|
"short": "Tracks daily activity on the server",
|
||||||
"description": "Tracks incoming and outgoing member activity on the server with daily resets",
|
"description": "Tracks incoming and outgoing member activity on the server with daily resets",
|
||||||
"requirements": ["datetime"],
|
"requirements": ["datetime"],
|
||||||
@ -7,7 +7,7 @@ allowed_guilds = {274657393936302080, 693796372092289024, 508781789737648138}
|
|||||||
admin_roles = {'Developer', 'admin', 'Council'}
|
admin_roles = {'Developer', 'admin', 'Council'}
|
||||||
statsThumbnailUrl = 'https://www.kanium.org/machineroom/logomachine-small.png'
|
statsThumbnailUrl = 'https://www.kanium.org/machineroom/logomachine-small.png'
|
||||||
|
|
||||||
class TrafficTracker(commands.Cog):
|
class TrafficCog(commands.Cog):
|
||||||
|
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.channel: discord.TextChannel = None
|
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