Start to add discord API structures

This commit is contained in:
zontreck 2024-07-08 02:36:56 -07:00
parent f6aac8fdc6
commit bcaf02091f
3 changed files with 296 additions and 0 deletions

6
lib/utils/DictTools.dart Normal file
View file

@ -0,0 +1,6 @@
dynamic setor(Map<String, dynamic> arr, String element, dynamic other) {
if (arr.containsKey(element))
return arr[element];
else
return other;
}