Browse Source

Printsettings command made

tags/v0.4.0
roxie 7 years ago
parent
commit
70fd8aac3c
3 changed files with 8 additions and 2 deletions
  1. +6
    -1
      README.md
  2. +1
    -0
      cogs/Admin.py
  3. +1
    -1
      main.py

+ 6
- 1
README.md View File

@@ -11,6 +11,10 @@ A simple Discord Bot used by me personally, written for fun.

## Changelog

#### v0.3.6
- ChangeAvatar command updated to use a upto date function to download images
- printsetting command created for bot owner to check the serverconfig at the current time

#### v0.3.5
- Changelog created

@@ -27,7 +31,6 @@ A list I just dump ideas on or planned bug fixes so that I can keep track.
#### Mid Priority
- Make the code cleaner so that it isn't eye cancer
- Move away from using ID's for everything. Maybe replace list with dict
- Admin tools - For commands already in and things like purge a chat
- On member role assign, welcome member using on_member_update
- Add check for no channel id when a module is enabled

@@ -35,11 +38,13 @@ A list I just dump ideas on or planned bug fixes so that I can keep track.
- Improve user experience
- Better help menu- AutoGen using command.help
- Document admin commands so that all commands are documented
- Constant file for constants

#### Command Ideas
- Overwatch stats - Using Overwatch-API lib
- Info command that shows info of bot incl. python metadata
- Command to print readme.md
- Admin tools - For commands already in and things like purge a chat

## Licence
[MIT Licence](https://github.com/RainbowDinoaur/roxbot/blob/master/LICENSE.md)

+ 1
- 0
cogs/Admin.py View File

@@ -101,6 +101,7 @@ class Admin():
if not owner(ctx):
return await self.bot.reply(self.con.no_perms_reponse, delete_after=self.con.delete_after)
else:
self.serverconfig = self.con.load_config()
config = self.serverconfig[ctx.message.server.id]
if setting in config:
config = config[setting]

+ 1
- 1
main.py View File

@@ -9,7 +9,7 @@ from config.config import Config
from cogs import cogs

__version__ = '0.3.6'
# TODO: make that constants file
settings = configparser.ConfigParser()
settings.read('config/settings.ini')


Loading…
Cancel
Save