Преглед на файлове

Printsettings command made

tags/v0.4.0
roxie преди 7 години
родител
ревизия
70fd8aac3c
променени са 3 файла, в които са добавени 8 реда и са изтрити 2 реда
  1. +6
    -1
      README.md
  2. +1
    -0
      cogs/Admin.py
  3. +1
    -1
      main.py

+ 6
- 1
README.md Целия файл



## Changelog ## 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 #### v0.3.5
- Changelog created - Changelog created


#### Mid Priority #### Mid Priority
- Make the code cleaner so that it isn't eye cancer - Make the code cleaner so that it isn't eye cancer
- Move away from using ID's for everything. Maybe replace list with dict - 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 - On member role assign, welcome member using on_member_update
- Add check for no channel id when a module is enabled - Add check for no channel id when a module is enabled


- Improve user experience - Improve user experience
- Better help menu- AutoGen using command.help - Better help menu- AutoGen using command.help
- Document admin commands so that all commands are documented - Document admin commands so that all commands are documented
- Constant file for constants


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


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

+ 1
- 0
cogs/Admin.py Целия файл

if not owner(ctx): if not owner(ctx):
return await self.bot.reply(self.con.no_perms_reponse, delete_after=self.con.delete_after) return await self.bot.reply(self.con.no_perms_reponse, delete_after=self.con.delete_after)
else: else:
self.serverconfig = self.con.load_config()
config = self.serverconfig[ctx.message.server.id] config = self.serverconfig[ctx.message.server.id]
if setting in config: if setting in config:
config = config[setting] config = config[setting]

+ 1
- 1
main.py Целия файл

from cogs import cogs from cogs import cogs


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



Loading…
Отказ
Запис