ソースを参照

Change: Made expression in roll required.

tags/v2.0.0
Roxie Gibson 5年前
コミット
56468fd668
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      roxbot/cogs/fun.py

+ 1
- 1
roxbot/cogs/fun.py ファイルの表示

@@ -43,7 +43,7 @@ class Fun:
self.roxbot_fact_cache = {}

@commands.command(aliases=["dice", "die"]) # Terra made this and it just work's but im too scared to clean it up so i hope it doesn't break
async def roll(self, ctx, *, expression=""):
async def roll(self, ctx, *, expression: str):
"""
Rolls a die using dice expression format.
Usage:

読み込み中…
キャンセル
保存