18 lines
235 B
Python
18 lines
235 B
Python
|
|
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
|
||
|
|
}
|