Initial commir
This commit is contained in:
1 parent
8228c51cfa
commit
cc7dbe2770
5 files changed
+115
No files matched your search
@@ -0,0 +1,9 @@
|
||||
from discord.ext import commands
|
||||
import aiosqlite
|
||||
|
||||
@commands.command()
|
||||
async def hello(ctx):
|
||||
await ctx.send(f'Hello {ctx.author.display_name}.')
|
||||
|
||||
async def setup(bot):
|
||||
bot.add_command(hello)
|
||||
@@ -0,0 +1,27 @@
|
||||
import random
|
||||
|
||||
class Cement:
|
||||
def __init__(self, rank):
|
||||
|
||||
self.ranks = {
|
||||
'unq' : 'Unique',
|
||||
'ssr' : 'Super Super Rare',
|
||||
'exo' : 'Exotic',
|
||||
'unk' : 'Uncommon',
|
||||
'n': 'Normal',
|
||||
}
|
||||
|
||||
self.dice_ranges = {
|
||||
'unq' : [8, 12],
|
||||
'ssr' : [4, 10],
|
||||
'exo' : [4, 8],
|
||||
'unk' : [2, 6],
|
||||
'n': [1, 4]
|
||||
}
|
||||
self.rank = rank
|
||||
|
||||
|
||||
|
||||
test = Cement('ssr')
|
||||
|
||||
print(test.rank)
|
||||
Reference in new issue
Block a user