Commit graph

83 commits

Author SHA1 Message Date
Pika
f01b1cdef5
wam bam fix dm errors mam
Fixes the log error with DMs, where it would fail, since ``discord.DMChannel`` does not have an attribute of ``name``.
2018-03-06 20:17:31 -05:00
Pika
2402e9619c
Fix playing status 2018-03-06 19:47:11 -05:00
Pika
176655c721
Ayy, it's the rewrite! 2018-03-06 17:45:19 -05:00
Martín (Netux) Rodríguez
30f42884da Added coo(channel, target_user, response)
- Replaces the repeated `bot.send_message(channel, f"Coo, { target_user }, response")`

Also, fixed tag command:
- Fixed tag lookup (whoops)
- Made subcommands case sensitive
- Added tons of subcommand aliases
2018-03-05 23:57:57 -03:00
Martín (Netux) Rodríguez
76369b5cc7 Changed Yamamura.py's line-endings to LF
I noticed an incosistency on my last commit.
2018-03-05 19:48:15 -03:00
Martín (Netux) Rodríguez
aac568f691 Fixed security issue with is_mod(user) 2018-03-05 19:14:09 -03:00
Martín (Netux) Rodríguez
70f57cbd32 Added tag command
- Added spam channels config, works with channel IDs
- Defined `is_mod(user)` to replace repeated `cfg["moderators"]` checks
- Writes tags as a name-tag map to tags.json
- Ability to create a tag (mods only)
- Ability to delete a tag (mods only)
- Ability to see all tags (DM if channel isn't a spam channel)
2018-03-05 19:12:58 -03:00
superwhiskers
889dac9977 fix it 2018-03-04 21:27:41 -06:00
Pika
1a33d12a04
Final changes 2018-03-04 22:16:17 -05:00
Pika
7cc07d38e5
Add gud meme
Written on my phone
2018-03-04 22:07:19 -05:00
superwhiskers
b07687fce5 Linux is best OS 2018-03-04 20:57:08 -06:00
Superwhiskers
2a7f5ec939 replicate case of 'ayy' messages in an 'lmaoo' message 2018-03-01 16:57:37 -06:00
Superwhiskers
cfa4e40d53 some more fixes 2018-03-01 16:42:42 -06:00
Superwhiskers
c7c5087a60 fix a bug with capitals in ayys 2018-03-01 16:20:07 -06:00
superwhiskers
25bd431a8e add a log reading script for *nix systems 2018-03-01 13:49:08 -06:00
Superwhiskers
f897985a4f forgot to remove unnecissary error handler 2018-02-23 18:08:09 -06:00
Superwhiskers
2bdcd2992f fix GitHub bot issue 2018-02-23 18:03:56 -06:00
Superwhiskers
8de9e8bec6 fix all of the issues in #4 2018-02-23 17:57:27 -06:00
Superwhiskers
fc20a0a809 add modmail 2018-02-22 18:52:04 -06:00
Superwhiskers
d41951e55d more features 2018-02-22 14:24:51 -06:00
Martín (Netux) Rodríguez
4d76544ccc Finished logging to external file (output.log)
- Moved opening of output.log to a log() function
  - Logs a string to the console with print()
  - opens output.log in append mode and writes the string to the file
2018-02-22 00:01:44 -03:00
Martín (Netux) Rodríguez
c0709c0f7c Allow users to define their own custom config.json without affecting Git commits
- Added .gitignore with config.json, output.log and .vscode/
- Added config.example.json
- Exit the program if no config.json file was found
2018-02-21 23:25:13 -03:00
Superwhiskers
bcbfdf6e67 quick vuln fix 2018-02-21 19:13:05 -06:00
Superwhiskers
c269e45136 ayy anywhere (first instance) 2018-02-21 18:55:26 -06:00
superwhiskers
e682c6cafa logging to console 2018-02-21 16:12:37 -06:00
Superwhiskers
ff8d64b9df fix teapot 2018-02-20 20:52:54 -06:00
Superwhiskers
144b710307 config and other things 2018-02-20 20:38:32 -06:00
Superwhiskers
5402ced018 varaible ayy 2018-02-20 18:17:47 -06:00
Superwhiskers
0194758ba1 variable ayy 2018-02-20 18:17:02 -06:00
Martín (Netux) Rodríguez
30b57bc70a Use RegExp for "ayy" maching
Now matching however many y's it can find
2018-02-20 21:00:42 -03:00
Superwhiskers
a4efd8f453 i'm a little teapot short and stout 2018-02-20 17:48:27 -06:00
Superwhiskers
21aae1a3da more things 2018-02-20 16:46:32 -06:00
superwhiskers
ca8e044c1d add the basic code 2018-02-20 13:20:53 -06:00