Start of chat command handling
This commit is contained in:
18
chatCommands.py
Normal file
18
chatCommands.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from typing import Dict
|
||||
|
||||
import random
|
||||
|
||||
|
||||
def handle_command(kwargs):
|
||||
|
||||
command = kwargs['message'].split()[0]
|
||||
print(command)
|
||||
|
||||
|
||||
def custom_roll(character, message):
|
||||
print('asd')
|
||||
|
||||
|
||||
commands: Dict = {
|
||||
'/roll': custom_roll
|
||||
}
|
||||
Reference in New Issue
Block a user