This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#TODO COMMENT THIS SHIT | |
#TODO fnmatch (e.g. 'wed' matches 'wednesday') | |
import discord | |
import asyncio | |
import json | |
ADMIN = ["49627337024606208", #olivia | |
] | |
READY = 2 | |
NOTREADY = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- Alert: > | |
Always on the lookout for danger, you gain the following benefits: | |
• You gain a +5 bonus to initiative. | |
• You can't be surprised while you are conscious. | |
• Other creatures don't gain advantage on attack rolls against you | |
as a result of being hidden from you. | |
- Athlete: > | |
You have undergone extensive physical training to gain the following | |
benefits: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance force | |
SendMode Input | |
^!+SC027:: ; ctrl-alt-shift-ö -> Ø | |
Send, {U+00D8} | |
return | |
^!SC027:: ; ctrl-alt-ö -> ø | |
Send, {U+00F8} | |
return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import re, sys | |
if __name__ == "__main__": | |
r_a = re.compile("[\u0531-\u058F]") | |
r_e = re.compile("[A-Za-z]") | |
fn = sys.argv[1] | |
try: | |
with open(fn, "r") as f: | |
a = 0 |