Commit Graph

132 Commits

Author SHA1 Message Date
Agatha Lovelace 8b0313c942 Merge pull request 'beeeeg refactor :3' (#1) from videogame-hacker/rustcord:patch/cleanup-match-statements into master
Reviewed-on: #1
2021-07-08 15:42:24 +00:00
charlotte ✨ 82d017b00f Clean up define command 2021-07-08 00:18:53 +01:00
charlotte ✨ 6a615bea42 Clean up match statements in main.rs 2021-07-08 00:14:40 +01:00
charlotte ✨ b3602a2eb4 Clean up match statements for pinned command 2021-07-07 23:57:30 +01:00
charlotte ✨ 80770462d2 Clean up match statements for lyrics command 2021-07-07 23:56:28 +01:00
charlotte ✨ e3b6b07ae5 Replace match-return with try operator on map_err in spoile.rs::spoiler 2021-07-07 23:38:10 +01:00
charlotte ✨ 3efc3ebed8 Replace match on true/false with if in spoile.rs::spoiler 2021-07-07 23:38:10 +01:00
charlotte ✨ e765ba0a3f Switch 'match' to 'if let' in main.rs::after
This lets us drop a level of indentation, and remove the clunky match arm for Ok(()) => ()

:)
2021-07-07 23:38:10 +01:00
Agatha Lovelace b53de9dbdb Add spoiler command, update dependencies 2021-07-01 02:15:02 +03:00
Agatha Lovelace 9563b32eb9 Update all dependencies, refactor some of the code;
Fix animated emotes displaying as png
2021-01-23 18:17:53 +02:00
Agatha Lovelace 5b738af0a6 Make pinned message formatting more condensed 2020-11-22 23:20:06 +02:00
Agatha Lovelace 30a4e1abd6 Update to serenity v0.9.1 and make the bot fully async 2020-11-22 22:51:15 +02:00
Agatha Lovelace 70b75923b5 Add WIP owo!emote 2020-10-04 04:01:16 +03:00
Agatha Lovelace 4709db8ead update dependencies, add regex 2020-10-04 03:57:34 +03:00
Agatha Lovelace 48074cd200 Make clippy happy 2020-07-27 20:03:41 +03:00
Agatha Lovelace bda1a9dc54 Update dependencies 2020-07-27 19:36:49 +03:00
Agatha Lovelace 70f7a66fb6 Add VSCode files to gitignore 2020-07-27 19:36:35 +03:00
Agatha Lovelace 326324ca1c Add link to original message in pinned embed 2020-07-10 23:44:09 +03:00
Agatha Lovelace 1430bbf2a9 Make owoify use last message's content if empty 2020-07-10 19:59:23 +03:00
Agatha Lovelace fdaf37061b Fix divider in README.md 2020-07-02 17:17:17 +00:00
Agatha Lovelace 2f9e658713 Add README.md 2020-07-02 17:13:07 +00:00
Agatha Lovelace 1193b6e0d9 Update CI 2020-06-24 13:01:05 +03:00
Agatha Lovelace d648fb779e Add !lyrics command 2020-06-23 13:47:09 +03:00
Agatha Lovelace a988a8ab05 Increment version for restructure 2020-06-23 11:03:01 +03:00
Agatha Lovelace 8e43d1b905 Move long commands to separate files 2020-06-23 01:19:02 +03:00
Agatha Lovelace c4ac1634f5 Move hash function into utils module, replace .to_string() calls with s!() macro 2020-06-23 00:07:01 +03:00
Agatha Lovelace ce14248071 Replace .push_str() calls with += operator to clean up code 2020-06-21 12:28:13 +03:00
Agatha Lovelace 4f83ece8f8 Make !pfp fall back to current user 2020-06-18 15:34:44 +03:00
Agatha Lovelace 58dc9358e9 Reply to 'good discordinator' 2020-06-18 15:32:39 +03:00
Agatha Lovelace dd62ecccf3 Add !pfp command 2020-06-14 00:48:06 +03:00
Agatha Lovelace fbd303a9f0 Add reaction on status update success, update old error handling 2020-06-13 23:18:33 +03:00
Agatha Lovelace b95341a768 Update email in Cargo.toml 2020-06-12 16:10:49 +03:00
Agatha Rose 76a824e610 Merge branch 'master' of https://gitlab.com/agathasorceress/rustcord 2020-06-11 21:33:57 +03:00
Agatha Rose 7484470753 typo in help 2020-06-11 21:33:35 +03:00
Agatha Rose 290d327f3b Update hostname in CI config 2020-06-11 18:26:32 +00:00
Agatha Rose 7b6829bc43 Add !status command 2020-06-11 21:18:30 +03:00
Agatha Rose 3a3c9253d9 Update dependencies 2020-06-11 20:14:02 +03:00
Agatha Rose 42c2dec594 Add comments, do minor cleanup 2020-06-11 19:51:17 +03:00
Agatha Rose 60ce17d287 Add embed docs 2020-06-11 19:04:32 +03:00
Agatha Rose 825311d9f9 Add thumbnail field to embeds 2020-06-11 18:45:06 +03:00
Agatha Rose 42f2f855c8 Improve error handling 2020-06-11 17:48:29 +03:00
Agatha Rose 0b9dc15067 Update !ping to not mention users 2020-06-11 16:39:43 +03:00
Agatha Rose e53eb8adf2 a certain dumb bitch forgot to remove debug code 2020-06-06 21:44:49 +03:00
Agatha Rose 70dad5d318 Add different channel support for pinned command, update host info 2020-06-06 21:34:24 +03:00
Agatha Rose 278d4e53f5 Someone forgot to update help again 2020-06-04 17:55:11 +03:00
Agatha Rose a732278e7b Add brainfuck interpreter 2020-06-04 17:46:47 +03:00
Agatha Rose c8d8e93000 Update .gitlab-ci.yml to use new host (thanks to julia uwu) 2020-06-01 23:28:30 +00:00
Agatha Rose 596232b0e1 Delete Procfile 2020-06-01 21:17:05 +00:00
Agatha Rose cc1d978e5f Make pinned message number 1-indexed 2020-05-23 19:51:43 +03:00
Agatha Rose 9887e8ef45 Totally didn't reuse old code 2020-05-23 16:32:12 +00:00