29 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

# TrafficCog
2020-05-03 20:07:03 +03:00
This is the Kanium community/guild welcome cog. monitors the server for activity and logs them to a specific channel using the specific commands.
2020-05-03 20:04:33 +03:00
# How to use:
In order to use our cog you would need to install it onto your instance of [RedBot](https://github.com/Cog-Creators/Red-DiscordBot).
## Requirments:
- Instance of [RedBot](https://github.com/Cog-Creators/Red-DiscordBot)
- Downloader cog has to be loaded. to load:
`[Prefix]load downloader`
## How to install & load:
1. `[PREFIX]repo add [RepoName] https://github.com/Kanium/KaniumCogs [ActiveBranch (EX: Master)] `
2. `[PREFIX]cog install [RepoName] trafficCog`
3. `[PREFIX]load trafficCog`
2020-05-03 20:04:33 +03:00
### To update the Cog:
- `[PREFIX]cog uninstall trafficCog`
2020-05-03 20:04:33 +03:00
- `[PREFIX]repo update [RepoName]`
- `[PREFIX]cog install [RepoName] trafficCog`
- `[PREFIX]load trafficCog`
2020-05-03 20:04:33 +03:00
### Commands
2020-05-03 20:18:24 +03:00
- `[PREFIX]settrafficchannel` - allows you to select a channel in your discord to dump logs to
2020-05-03 20:04:33 +03:00
- `[PREFIX]stats` - prints the statistics that the cog has gathered.
- `[PREFIX]resetstats` - allows for a hard reset of the stats
- `[PREFIX]toggleLogs` - Toggles the logs functionality on or off