79 Commits

Author SHA1 Message Date
Twentysix
59d4604462 [Core] Hotfix
send_message wasn't returning the message object
2016-11-19 16:33:14 +01:00
Twentysix
90272b378a [Core] Message modifiers (#477)
Message modifiers offer an easy way for cogs to edit outcoming messages without resorting to hacky methods
2016-11-19 14:47:46 +01:00
Twentysix
7fe0126a79 [Core] Subclassing of Bot class, Python version check
`send_cmd_help` and `user_allowed` are now part of Bot
2016-11-17 15:03:14 +01:00
Caleb Johnson
70afff5b5f [Core, Alias, Customcom] Moved bot checks to user_allowed (#454)
More selfbot friendliness for modded Reds
2016-11-14 03:36:38 +01:00
Twentysix
36216a4058 [Core] Removed outdated error checks 2016-11-14 02:23:00 +01:00
Twentysix
c4b1c01a9f [Core] Show custom message to the user if discord.py is missing 2016-11-08 04:46:54 +01:00
Will
3a51eeca65 [Core] Sorting of commands in [p]help (#449) 2016-11-07 14:08:26 +01:00
Caleb Johnson
04f121902b [Core] Exit code 1 on abnormal stop (#388) 2016-10-05 12:43:42 +02:00
Twentysix
5c13dab8e5 [Main] Handle NoPrivateMessage errors 2016-09-18 23:53:15 +02:00
Caleb Johnson
b67ba23c00 [Main] Ignore bots on on_message (#376) 2016-09-14 22:40:06 +02:00
Twentysix
f95b7c1fee [Main] Changed initial message for update.bat, added link to server 2016-09-12 00:22:05 +02:00
Twentysix
d1db34a9c4 Updated readme, cleaned up code 2016-08-11 23:44:49 +02:00
Twentysix
ca8285949d Show total # of cogs and prefixes in the console 2016-07-23 06:07:38 +02:00
Twentysix
6b40690348 Automatically set bot's owner 2016-07-23 05:47:12 +02:00
Twentysix
3bf840e92c [Owner] !set token no longer hidden 2016-07-04 21:27:26 +02:00
Twentysix
6271f9aefd Fixed faulty logic with --no-prompt 2016-06-30 23:07:17 +02:00
Twentysix
c34486a004 Changed command to update discord.py 2016-06-28 13:49:43 +02:00
Twentysix
0e3d0cc954 Silenced check failure errors 2016-06-19 18:36:14 +02:00
Twentysix
0d985e5dc1 Ignore command not found errors 2016-06-14 19:45:12 +02:00
Twentysix
8fa80da958 Prompt the user before deleting their config for wrong credentials
No more backfires.
2016-06-14 00:55:51 +02:00
Twentysix
c9e948ae26 Updated/better command error handling 2016-06-13 23:32:20 +02:00
Twentysix
61f7763605 Update to use the new bot.application_info() 2016-06-12 01:51:38 +02:00
Twentysix
a2e79e1c5a Took out prefix example
Apparently reading is hard
2016-06-04 03:01:05 +02:00
Twentysix
f5a628214b Clearer/simpler initial configuration 2016-05-26 00:14:38 +02:00
Twentysix
27ce0fc57a Revamped FileIO (#262)
Handles backups, way tidier with different functions, backwards compatible. Should fix the corrupted json issues.
2016-05-21 15:26:48 +02:00
Twentysix
7ecf7e9963 Wipe references to user accounts
They will still be supported but no longer mentioned in the setup or the docs.
2016-05-15 19:19:31 +02:00
Will Tekulve
53fcd73e1f hide debug stdout messages 2016-05-12 20:59:45 -04:00
Will
2f46605bf6 Logging to stdout (#248)
Non-infinite log files now, 50M before archive

Lower max size
2016-05-13 02:29:01 +02:00
Twentysix
399ddeb886 Disable/enable commands, uptime fix 2016-05-06 20:56:41 +02:00
Twentysix
4485de64ab Fixed initial cogs loading 2016-04-30 19:44:12 +02:00
Will
5b764c41c3 Owner cog / Version command / doc link update / OAUTH (#203)
* Version command (#183)

* reword. replace link with link to our doc

* Move all owner commands to a separate plugin (#188)

* Move all owner commands to their own plugin.

* Move all initial cog loading to Owner plugin

* Final fix of initial cog loading

* don't allow people to unload the owner plugin without reloading it

* make sure we modify the cog registry like we're supposed to

* log the functionname too

Message updates, grammar, politeness etc

Get right names in logging formatter

Ignore cogs.owner if we find it

* add version back in

add reload docstring

Heh, woops...little security bug here

* Add in globals and bot to locals

* pass exception to the logger

* Bot will now generate OAUTH URL from the supplied endpoint (#196)

* Formatting changes, revert uptime

* Store the oauth_url internally, provide it if the owner uses `!join`
2016-04-28 16:33:53 -04:00
Will
81409271f5 Version command (#183) 2016-04-24 21:25:59 +02:00
Irdumb
1e0c015400 Prompts for updates (#160) 2016-04-22 00:58:02 +02:00
Irdumb
430756347d !join point to Red-Docs (#175) 2016-04-19 20:44:58 +02:00
tekulvw
df120884af Even better logging (#164) 2016-04-16 23:22:21 +02:00
Twentysix
a351f2fc2a Adjustments to PR 2016-04-16 22:31:18 +02:00
tekulvw
4fb5ba75b4 Backup settings on deletion (#163) 2016-04-16 22:30:17 +02:00
Irdumb
95b5096961 More info on !join with BOT tag (#161) 2016-04-16 15:32:11 +02:00
Twentysix
7656cc6657 !debug fix 2016-04-16 03:17:14 +02:00
tekulvw
3a12d97b56 Correct users count on boot. (#158) 2016-04-16 00:10:02 +02:00
Kowlin
1b8f6d26ad Fix for !join on OAuth bots (#157)
Fix for !join on OAuth bots
2016-04-16 00:06:49 +02:00
Twentysix
d291770499 Added !set token 2016-04-15 23:53:50 +02:00
Twentysix
e0aad82966 Adjustment to PR 2016-04-15 23:24:55 +02:00
Kowlin
4994c40bd3 Added support for Bot tokens (#138)
Added support for Bot tokens
2016-04-15 23:23:14 +02:00
Twentysix
74a1dad37f Merge pull request #125 from irdumbs/patch-8
Fix to prefixes
2016-04-11 19:15:27 +02:00
Kowlin
19bc3ef532 Made the setowner command from console more clear. 2016-04-11 13:22:35 +02:00
Irdumb
aa9d47d6f1 simple setting of nested prefixes
issue#118
doesn't handle:
!set prefix ! !p
!ping
^ will not respond pong.
2016-04-07 23:30:17 +10:00
Twentysix
a22e0bad62 Further checks to initial configuration 2016-03-23 16:43:16 +01:00
Twentysix
e1d1ebe8e2 Dumbed down the config process some more 2016-03-22 15:01:28 +01:00
Twentysix
3b2ec421a6 Further restrictions to owner ID configuration 2016-03-13 06:30:54 +01:00