File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
+ # v2.13.3
8
+
9
+ ### Fixed
10
+ - a typo in the config options
11
+
7
12
# v2.13.2
8
13
9
14
### Fixed
Original file line number Diff line number Diff line change 5
5
from discord import Object
6
6
from discord .ext import commands
7
7
8
+ class SafeDict (dict ):
9
+ def __missing__ (self , key ):
10
+ return '{' + key + '}'
11
+
12
+ def safeformat (str , ** kwargs ):
13
+ replacements = SafeDict (** kwargs )
14
+ return str .format_map (replacements )
8
15
9
16
class User (commands .IDConverter ):
10
17
"""
You can’t perform that action at this time.
0 commit comments