aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/soundchan/LocalAudioManager.java
diff options
context:
space:
mode:
authorBrandon <bwaggone@umich.edu>2018-04-14 15:20:23 -0400
committerBrandon <bwaggone@umich.edu>2018-04-14 15:20:23 -0400
commit97dd68fbbfd28c6c0f42ac06f4d70606990667b4 (patch)
treea666be81bd6019970123e79bfc50b720490fa8f2 /src/main/java/soundchan/LocalAudioManager.java
parent3bc325f7d249cd25002f32ba8b516c7644d8c506 (diff)
downloadSoundChan-97dd68fbbfd28c6c0f42ac06f4d70606990667b4.tar.gz
SoundChan-97dd68fbbfd28c6c0f42ac06f4d70606990667b4.tar.bz2
SoundChan-97dd68fbbfd28c6c0f42ac06f4d70606990667b4.zip
Add sound preemption + change structure
Diffstat (limited to 'src/main/java/soundchan/LocalAudioManager.java')
-rw-r--r--src/main/java/soundchan/LocalAudioManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/soundchan/LocalAudioManager.java b/src/main/java/soundchan/LocalAudioManager.java
index 314f6b9..9a4e299 100644
--- a/src/main/java/soundchan/LocalAudioManager.java
+++ b/src/main/java/soundchan/LocalAudioManager.java
@@ -31,11 +31,12 @@ public class LocalAudioManager {
public void ListSounds(MessageChannel channel){
Set<String> localSounds = filenameDict.keySet();
- String toPrint = "The following sounds you can play are:\n";
+ String toPrint = "The following sounds you can play are:\n```";
for (String sound:
localSounds) {
toPrint = toPrint + " * " + sound + "\n";
}
+ toPrint = toPrint + "```";
channel.sendMessage(toPrint).queue();
}